Skip to content
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

Request body tables aren't as good as they could be #6

Open
bourdakos1 opened this issue Jun 18, 2020 · 0 comments
Open

Request body tables aren't as good as they could be #6

bourdakos1 opened this issue Jun 18, 2020 · 0 comments
Labels
enhancement New feature or request openapi-ui

Comments

@bourdakos1
Copy link
Member

bourdakos1 commented Jun 18, 2020

right now we just list the root json and the schema it relies on for example:

Request Body
{ friends: Person[] }
Person
{ name: string }

we should do something like this maybe?

Request Body
friends Person[]
A list of friends
Person
name string — REQUIRED
The name of the person

Or maybe nested tables?

Request Body
friends Person[]
A list of friends
name string — REQUIRED
The name of the person
firstname string — REQUIRED
Your firstname
middle string
Your middle initial
lastname string — REQUIRED
Your firstname
@bourdakos1 bourdakos1 added enhancement New feature or request openapi-ui labels Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request openapi-ui
Projects
None yet
Development

No branches or pull requests

1 participant