cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Adding a missing test resource
Date Wed, 26 Jul 2017 13:28:41 GMT
Repository: cxf
Updated Branches:
  refs/heads/master f45612c0a -> d5bfda98f


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/d5bfda98
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/d5bfda98
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/d5bfda98

Branch: refs/heads/master
Commit: d5bfda98f02c1fe0028f9b3bf04502a5bae7b75e
Parents: f45612c
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Wed Jul 26 16:28:29 2017 +0300
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Wed Jul 26 16:28:29 2017 +0300

----------------------------------------------------------------------
 .../src/test/resources/swagger20NoTags.json     | 43 ++++++++++++++++++++
 1 file changed, 43 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/d5bfda98/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":"users@cxf.apache.org"},
+     "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


Mime
View raw message