-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #18 #19
base: main
Are you sure you want to change the base?
Fix #18 #19
Changes from all commits
fea8447
b471f0a
b9146ef
8eb337f
6ecc451
eeff04a
c140330
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,12 @@ | |
|
||
## Working on your OpenAPI Definition | ||
|
||
|
||
## Prerequistites | ||
|
||
- Node.js v18+ | ||
- Java (openjdk 17 was checked) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Q:Java は何処で利用するですか? |
||
|
||
### Install | ||
|
||
1. Install [Node JS](https://nodejs.org/). | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,9 @@ post: | |
application/json: | ||
schema: | ||
$ref: ../components/schemas/CommandResult.yaml | ||
responses: | ||
200: | ||
$ref: ../components/responses/CommandResponse.yaml | ||
401: | ||
$ref: ../components/responses/Unauthorized.yaml | ||
|
||
Comment on lines
+19
to
+24
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed error to pass openapi generate |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,11 @@ put: | |
- $ref: ../components/parameters/sessionId.yaml | ||
requestBody: | ||
$ref: ../components/requestBodies/Session.yaml | ||
responses: | ||
"200": | ||
$ref: ../components/responses/SessionResponse.yaml | ||
"401": | ||
$ref: ../components/responses/Unauthorized.yaml | ||
Comment on lines
+35
to
+39
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed error to pass openapi generate |
||
|
||
patch: | ||
tags: | ||
|
@@ -49,3 +54,8 @@ patch: | |
requestBody: | ||
required: false | ||
$ref: ../components/requestBodies/SessionPatch.yaml | ||
responses: | ||
"200": | ||
$ref: ../components/responses/SessionResponse.yaml | ||
"401": | ||
$ref: ../components/responses/Unauthorized.yaml | ||
Comment on lines
+57
to
+61
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed error to pass openapi generate |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file generated automatically |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json", | ||
"spaces": 2, | ||
"generator-cli": { | ||
"version": "7.1.0" | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix redoc command error