From 08257bdaab1f657252ff5a2516c4a6ed301bb1ce Mon Sep 17 00:00:00 2001 From: George Dias Date: Fri, 7 Oct 2022 12:11:14 -0500 Subject: [PATCH] Udated the Register endpoint - publishing v3.4.1 --- eMASSRestOpenApi.yaml | 20 +++++++++---------- src/openapi/templates/ruby/gemspec.mustache | 3 ++- .../templates/ruby/ruby-generator-config.json | 2 +- .../typescript-generator-config.json | 2 +- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/eMASSRestOpenApi.yaml b/eMASSRestOpenApi.yaml index 7972911c..a601b8c4 100644 --- a/eMASSRestOpenApi.yaml +++ b/eMASSRestOpenApi.yaml @@ -228,15 +228,15 @@ paths: tags: - Registration summary: "Register user certificate and obtain an API key" - description: "Returns the api-key - This API key must be provided in the request header for all endpoint calls (api-key)." + description: "Returns the API Key (api-key) that must be provided in the request header for all endpoint calls." operationId: registerUser - requestBody: - description: "Register certificate provided by eMASS." - content: - application/json: - schema: - "$ref": "#/components/schemas/RegisterUserRequestPostBody" - required: true + # requestBody: + # description: "Register certificate provided by eMASS." + # content: + # application/json: + # schema: + # "$ref": "#/components/schemas/RegisterUserRequestPostBody" + # required: true responses: '200': description: "Request has succeeded" @@ -4780,7 +4780,7 @@ components: x-faker: random.boolean example: false #---------------------------------------------------------------------------- - # Request Body examples fields for (DELETE) + # Request Body example fields for (DELETE) #---------------------------------------------------------------------------- PoamRequestDeleteBody: title: DeletePoams @@ -4848,7 +4848,7 @@ components: apikey: type: string x-faker: random.uuid - example: f32516cc-57d3-43f5-9e16-8f86780a4cce + example: f0126b6b-f232-45c9-a8de-01d5f003deda SystemResponse: title: "System GET response schema" type: object diff --git a/src/openapi/templates/ruby/gemspec.mustache b/src/openapi/templates/ruby/gemspec.mustache index c5a87123..696afd56 100644 --- a/src/openapi/templates/ruby/gemspec.mustache +++ b/src/openapi/templates/ruby/gemspec.mustache @@ -15,7 +15,8 @@ Gem::Specification.new do |s| s.email = ["{{gemAuthorEmail}}{{^gemAuthorEmail}}{{infoEmail}}{{/gemAuthorEmail}}"] s.homepage = "{{gemHomepage}}{{^gemHomepage}}https://openapi-generator.tech{{/gemHomepage}}" s.summary = "{{gemSummary}}{{^gemSummary}}{{{appName}}} Ruby Gem{{/gemSummary}}" - s.description = "{{gemDescription}}{{^gemDescription}}{{{appDescription}}}{{^appDescription}}{{{appName}}} Ruby Gem{{/appDescription}}{{/gemDescription}}" + # s.description = "{{gemDescription}}{{^gemDescription}}{{{appDescription}}}{{^appDescription}}{{{appName}}} Ruby Gem{{/appDescription}}{{/gemDescription}}" + s.description = "The emass_client is a ruby gem that implements the Enterprise Mission Assurance Support Service (eMASS) Representational State Transfer (REST) Application Programming Interface (API) specifications" s.license = "{{{gemLicense}}}{{^gemLicense}}Unlicense{{/gemLicense}}" s.required_ruby_version = "{{{gemRequiredRubyVersion}}}{{^gemRequiredRubyVersion}}>= 2.4{{/gemRequiredRubyVersion}}" diff --git a/src/openapi/templates/ruby/ruby-generator-config.json b/src/openapi/templates/ruby/ruby-generator-config.json index e5730568..c3438e22 100644 --- a/src/openapi/templates/ruby/ruby-generator-config.json +++ b/src/openapi/templates/ruby/ruby-generator-config.json @@ -1,6 +1,6 @@ { "gemName": "emass_client", - "gemVersion": "3.4.0", + "gemVersion": "3.4.1", "gemLicense": "Apache-2.0", "enumUnknownDefaultCase": true } \ No newline at end of file diff --git a/src/openapi/templates/typescript/typescript-generator-config.json b/src/openapi/templates/typescript/typescript-generator-config.json index 814d65b4..843b3cc3 100644 --- a/src/openapi/templates/typescript/typescript-generator-config.json +++ b/src/openapi/templates/typescript/typescript-generator-config.json @@ -1,6 +1,6 @@ { "npmName": "@mitre/emass_client", - "npmVersion": "3.4.0", + "npmVersion": "3.4.1", "npmLicense": "Apache-2.0", "enumUnknownDefaultCase": true } \ No newline at end of file