cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6264) Provide Swagger to CXF UserResource converter
Date Fri, 20 Feb 2015 17:20:13 GMT

    [ https://issues.apache.org/jira/browse/CXF-6264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329200#comment-14329200
] 

Sergey Beryozkin commented on CXF-6264:
---------------------------------------

Given 
{noformat}
{
  "swaggerVersion": "1.2",
  "basePath": "http://localhost:8000/greetings",
  "apis": [
    {
      "path": "/hello/{subject}",
      "operations": [
        {
          "method": "GET",
          "summary": "Greet our subject with hello!",
          "type": "string",
          "nickname": "helloSubject",
          "parameters": [
            {
              "name": "subject",
              "description": "The subject to be greeted.",
              "required": true,
              "type": "string",
              "paramType": "path"
            }
          ]
        }
      ]
    }
  ]
}
{noformat}

we can easily enough create a UserResource representation that will be understood by the JAX-RS
runtime

> Provide Swagger to CXF UserResource converter
> ---------------------------------------------
>
>                 Key: CXF-6264
>                 URL: https://issues.apache.org/jira/browse/CXF-6264
>             Project: CXF
>          Issue Type: New Feature
>          Components: JAX-RS
>            Reporter: Sergey Beryozkin
>             Fix For: 3.0.5
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message