Repository: cxf Updated Branches: refs/heads/3.1.x-fixes f2ca294d8 -> d91b5593e
Adding a missing test resource Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/d91b5593 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/d91b5593 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/d91b5593 Branch: refs/heads/3.1.x-fixes Commit: d91b5593e19c07e7aafa479a089c0099db7afc6b Parents: f2ca294 Author: Sergey Beryozkin <[email protected]> Authored: Wed Jul 26 16:28:29 2017 +0300 Committer: Sergey Beryozkin <[email protected]> Committed: Wed Jul 26 16:30:07 2017 +0300 ---------------------------------------------------------------------- .../src/test/resources/swagger20NoTags.json | 43 ++++++++++++++++++++ 1 file changed, 43 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/d91b5593/rt/rs/description-swagger/src/test/resources/swagger20NoTags.json ---------------------------------------------------------------------- diff --git a/rt/rs/description-swagger/src/test/resources/swagger20NoTags.json b/rt/rs/description-swagger/src/test/resources/swagger20NoTags.json new file mode 100644 index 0000000..7be32f6 --- /dev/null +++ b/rt/rs/description-swagger/src/test/resources/swagger20NoTags.json @@ -0,0 +1,43 @@ +{ + "swagger":"2.0", + "info": { + "description":"The Application", + "version":"1.0.0", + "title":"Sample REST Application", + "contact": {"name":"[email protected]"}, + "license":{"name":"Apache 2.0 License","url":"http://www.apache.org/licenses/LICENSE-2.0.html"} + }, + + basePath":"/services/helloservice", + + "paths": + { + "/sayHello/{a}": + { + "get": + { + "operationId":"sayHello", + "produces": + ["text/plain"], + "parameters": + [ + {"name":"a", + "in":"path", + "required":true, + "type":"string" + } + ], + "responses": + { + "200": + { + "description":"successful operation", + "schema":{"type":"string"}, + "headers":{} + } + } + } + }, + "/sayHello2/{a}": + { + "get":{"operationId":"sayHello2","produces":["text/plain"],"parameters":[{"name":"a","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"successful operation","schema":{"type":"string"},"headers":{}}}}}}} \ No newline at end of file
