From 787653823cb4ffc29fb7def8cbd37a40ddf10915 Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Mon, 26 Jun 2017 21:58:17 -0700 Subject: [PATCH] updated release versions --- README.md | 4 +- modules/swagger-compat-spec-parser/pom.xml | 2 +- modules/swagger-parser/pom.xml | 2 +- .../yaml/issue-5753-definitions.yaml | 84 ------------------- .../yaml/issue-5753.yaml | 56 ------------- pom.xml | 4 +- 6 files changed, 6 insertions(+), 146 deletions(-) delete mode 100644 modules/swagger-parser/src/test/resources/relative-file-references/yaml/issue-5753-definitions.yaml delete mode 100644 modules/swagger-parser/src/test/resources/relative-file-references/yaml/issue-5753.yaml diff --git a/README.md b/README.md index 384f4b9f8b..b366d80b90 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ You can include this library from Sonatype OSS for SNAPSHOTS, or Maven central f io.swagger swagger-parser - 1.0.30-SNAPSHOT + 1.0.30 ``` @@ -126,7 +126,7 @@ To add swagger parsing support for older versions of swagger, add the `compat` m io.swagger swagger-compat-spec-parser - 1.0.30-SNAPSHOT + 1.0.30 ``` diff --git a/modules/swagger-compat-spec-parser/pom.xml b/modules/swagger-compat-spec-parser/pom.xml index b6730974b5..28e7ae4414 100644 --- a/modules/swagger-compat-spec-parser/pom.xml +++ b/modules/swagger-compat-spec-parser/pom.xml @@ -4,7 +4,7 @@ io.swagger swagger-parser-project - 1.0.30-SNAPSHOT + 1.0.30 ../.. 4.0.0 diff --git a/modules/swagger-parser/pom.xml b/modules/swagger-parser/pom.xml index 7b1f674200..84e52f269b 100644 --- a/modules/swagger-parser/pom.xml +++ b/modules/swagger-parser/pom.xml @@ -4,7 +4,7 @@ io.swagger swagger-parser-project - 1.0.30-SNAPSHOT + 1.0.30 ../.. 4.0.0 diff --git a/modules/swagger-parser/src/test/resources/relative-file-references/yaml/issue-5753-definitions.yaml b/modules/swagger-parser/src/test/resources/relative-file-references/yaml/issue-5753-definitions.yaml deleted file mode 100644 index 5d95a57a27..0000000000 --- a/modules/swagger-parser/src/test/resources/relative-file-references/yaml/issue-5753-definitions.yaml +++ /dev/null @@ -1,84 +0,0 @@ -EmptyObject: - type: object - description: "Sample Description" -Error: - type: object - description: "Sample Description" - required: - - type - properties: - type: - type: string - description: "Sample Description" - default: "GenericException" - example: "GenericException" - itemInfo: - type: object - description: "Sample Description" - items: - $ref: '#/ItemId' - details: - type: string - description: "Sample Description" - example: "Could not update that field" - exception: - type: string - description: "Sample Description" - example: "DBException + stack trace" -ItemId: - type: object - description: "Sample Description" - required: - - id - - type - properties: - id: - type: string - description: "Sample Description" - example: "45" - type: - type: string - description: "playlist" - example: "5667" -ResponseMeta: - type: object - description: "Sample Description" - required: - - code - properties: - code: - type: string - description: "Sample Description" - default: Ok - enum: - - Ok - example: Ok - detail: - type: string - description: "Sample Description" - example: "this is some detail about the error or the success" - exception: - type: string - description: "Sample Description" - example: "IOException + stack trace" - errors: - type: array - description: "Sample Description" - items: - $ref: '#/Error' -ActorInfo: - type: object - description: "Sample Description" - required: - - actorPath - properties: - actorPath: - type: string - example: "/user/synchronizer" -DefaultMetaOnlyResponse: - type: object - required: - - meta - properties: - meta: - $ref: '#/ResponseMeta' \ No newline at end of file diff --git a/modules/swagger-parser/src/test/resources/relative-file-references/yaml/issue-5753.yaml b/modules/swagger-parser/src/test/resources/relative-file-references/yaml/issue-5753.yaml deleted file mode 100644 index 49093c2219..0000000000 --- a/modules/swagger-parser/src/test/resources/relative-file-references/yaml/issue-5753.yaml +++ /dev/null @@ -1,56 +0,0 @@ -swagger: '2.0' - -info: - version: "0.1.0" - title: Title - description: "" - contact: - name: me - email: hello@foo.com - url: http://www.foo.com -schemes: - - http - - https -basePath: /api -host: "localhost:9000" -consumes: - - application/json -produces: - - application/json -paths: - /actors: - delete: - tags: - - Actor - summary: Kill an actor in the actor system (MAW) - description: "" - operationId: killActor - parameters: - - in: body - name: body - required: true - schema: - $ref: "./relative-file-references/yaml/issue-5753-definitions.yaml#/ActorInfo" - responses: - 200: - description: OK - schema: - $ref: "./relative-file-references/yaml/issue-5753-definitions.yaml#/DefaultMetaOnlyResponse" - get: - tags: - - Actor - summary: Request the status of an actor - description: "" - operationId: requestPrintStatus - parameters: - - in: body - name: body - required: true - schema: - $ref: "./relative-file-references/yaml/issue-5753-definitions.yaml#/ActorInfo" - responses: - 200: - description: OK - schema: - $ref: "./relative-file-references/yaml/issue-5753-definitions.yaml#/DefaultMetaOnlyResponse" - \ No newline at end of file diff --git a/pom.xml b/pom.xml index e5c4d287da..5875d34d91 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ 4.0.0 io.swagger swagger-parser-project - 1.0.30-SNAPSHOT + 1.0.30 pom swagger-parser-project @@ -236,7 +236,7 @@ 2.4 1.6.3 - 1.5.15-SNAPSHOT + 1.5.15 4.8.1 6.9.6 1.19