Skip to content

Commit

Permalink
Merge pull request #3 from mitre/update_registration_endpoint
Browse files Browse the repository at this point in the history
Updated the Register endpoint - publishing v3.4.1
  • Loading branch information
georgedias authored Oct 7, 2022
2 parents 03efef2 + 08257bd commit 6b59323
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
20 changes: 10 additions & 10 deletions eMASSRestOpenApi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/openapi/templates/ruby/gemspec.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"

Expand Down
2 changes: 1 addition & 1 deletion src/openapi/templates/ruby/ruby-generator-config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"gemName": "emass_client",
"gemVersion": "3.4.0",
"gemVersion": "3.4.1",
"gemLicense": "Apache-2.0",
"enumUnknownDefaultCase": true
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"npmName": "@mitre/emass_client",
"npmVersion": "3.4.0",
"npmVersion": "3.4.1",
"npmLicense": "Apache-2.0",
"enumUnknownDefaultCase": true
}

0 comments on commit 6b59323

Please sign in to comment.