You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by em...@apache.org on 2022/09/29 06:54:33 UTC

[cxf] 02/02: Removed unused Swagger resources

This is an automated email from the ASF dual-hosted git repository.

ema pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit a7bdc11a62b1810b436ce70e60fcc252ab41337d
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Tue Sep 27 08:50:15 2022 -0400

    Removed unused Swagger resources
---
 .../src/test/resources/files/swagger.properties    |  5 --
 .../jaxrs/description/swagger2-noano-yaml.txt      | 54 ------------
 .../systest/jaxrs/description/swagger2-yaml.txt    | 98 ----------------------
 3 files changed, 157 deletions(-)

diff --git a/systests/jaxrs/src/test/resources/files/swagger.properties b/systests/jaxrs/src/test/resources/files/swagger.properties
deleted file mode 100644
index 417045b753..0000000000
--- a/systests/jaxrs/src/test/resources/files/swagger.properties
+++ /dev/null
@@ -1,5 +0,0 @@
-contact=cxf@apache.org
-title=CXF unittest
-description=API Description
-license=API License
-license.url=API License URL
\ No newline at end of file
diff --git a/systests/jaxrs/src/test/resources/org/apache/cxf/systest/jaxrs/description/swagger2-noano-yaml.txt b/systests/jaxrs/src/test/resources/org/apache/cxf/systest/jaxrs/description/swagger2-noano-yaml.txt
deleted file mode 100644
index 5ef0eb4aaa..0000000000
--- a/systests/jaxrs/src/test/resources/org/apache/cxf/systest/jaxrs/description/swagger2-noano-yaml.txt
+++ /dev/null
@@ -1,54 +0,0 @@
----
-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"
-host: "localhost:%s"
-basePath: "/"
-paths:
-  /bookstore/name/{id}:
-    get:
-      operationId: "getBookName"
-      parameters:
-      - name: "id"
-        in: "path"
-        required: true
-        type: "string"
-      responses:
-        200:
-          description: "successful operation"
-          schema:
-            type: "string"
-          headers: {}
-  /bookstore/names:
-    get:
-      operationId: "getBookNames"
-      produces:
-      - "application/json"
-      parameters:
-      - name: "page"
-        in: "query"
-        required: false
-        type: "integer"
-        default: 1
-        format: "int32"
-      responses:
-        default:
-          description: "successful operation"
-  /bookstore/{id}:
-    delete:
-      operationId: "delete"
-      parameters:
-      - name: "id"
-        in: "path"
-        required: true
-        type: "string"
-      responses:
-        default:
-          description: "successful operation"
diff --git a/systests/jaxrs/src/test/resources/org/apache/cxf/systest/jaxrs/description/swagger2-yaml.txt b/systests/jaxrs/src/test/resources/org/apache/cxf/systest/jaxrs/description/swagger2-yaml.txt
deleted file mode 100644
index 022efbd158..0000000000
--- a/systests/jaxrs/src/test/resources/org/apache/cxf/systest/jaxrs/description/swagger2-yaml.txt
+++ /dev/null
@@ -1,98 +0,0 @@
----
-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"
-host: "localhost:%s"    
-basePath: "/"
-tags:
-- name: "bookstore"
-paths:
-  /bookstore:
-    get:
-      operationId: "getBooks"
-      produces:
-      - "application/json"
-      parameters:
-      - name: "page"
-        in: "query"
-        required: false
-        type: "integer"
-        default: 1
-        format: "int32"
-      responses:
-        default:
-          description: "successful operation"
-  /bookstore/name/{id}:
-    get:
-      operationId: "getBookName"
-      parameters:
-      - name: "id"
-        in: "path"
-        required: true
-        type: "string"
-      responses:
-        200:
-          description: "successful operation"
-          schema:
-            type: "string"
-          headers: {}
-  /bookstore/names:
-    get:
-      operationId: "getBookNames"
-      produces:
-      - "application/json"
-      parameters:
-      - name: "page"
-        in: "query"
-        required: false
-        type: "integer"
-        default: 1
-        format: "int32"
-      responses:
-        default:
-          description: "successful operation"
-  /bookstore/{id}:
-    get:
-      operationId: "getBook"
-      produces:
-      - "application/json"
-      parameters:
-      - name: "id"
-        in: "path"
-        required: true
-        type: "integer"
-        format: "int64"
-      responses:
-        200:
-          description: "successful operation"
-          schema:
-            $ref: "#/definitions/Book"
-          headers: {}
-    delete:
-      operationId: "delete"
-      parameters:
-      - name: "id"
-        in: "path"
-        required: true
-        type: "string"
-      responses:
-        default:
-          description: "successful operation"
-definitions:
-  Book:
-    type: "object"
-    properties:
-      name:
-        type: "string"
-      id:
-        type: "integer"
-        format: "int64"
-    xml:
-      name: "Book"