-
Notifications
You must be signed in to change notification settings - Fork 0
Swagger #1
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
base: master
Are you sure you want to change the base?
Swagger #1
Conversation
|
when setting up the address /. when testing in the browser, this address was rolled back to / so I made the address /swagger |
61fe0cc to
079cac0
Compare
ongrid
left a comment
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.
Need schema (definition) for the Student and corresponding relations. Responses need to be specified using type, items and so on.
| responses: | ||
| '200': | ||
| description: 'OK' | ||
| post: |
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.
Semantic error at paths./students/{id}.post
Operations with parameters of "in: formData" must include "application/x-www-form-urlencoded" or "multipart/form-data" in their "consumes" property
Jump to line 44
Check with https://editor.swagger.io/
| tags: | ||
| - "student on course" | ||
| responses: | ||
| '200': |
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.
Where is the schema of the response? Since the student is a complex object, just 200 OK is not enough.
|
"This branch has conflicts that must be resolved" |
|
need rebase on master |
No description provided.