Skip to content

Spec: required request bodies#10125

Merged
amogh-jahagirdar merged 1 commit into
apache:mainfrom
westse:openapi-required-request-body
Apr 12, 2024
Merged

Spec: required request bodies#10125
amogh-jahagirdar merged 1 commit into
apache:mainfrom
westse:openapi-required-request-body

Conversation

@westse
Copy link
Copy Markdown
Contributor

@westse westse commented Apr 11, 2024

Closes #10004

The server might also add properties, such as `last_modified_time` etc.
operationId: createNamespace
requestBody:
required: true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you also please add the same for getToken?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@westse westse force-pushed the openapi-required-request-body branch from 80f9b26 to 4bf574e Compare April 12, 2024 15:49
@nastra nastra requested a review from amogh-jahagirdar April 12, 2024 15:57
Copy link
Copy Markdown
Contributor

@amogh-jahagirdar amogh-jahagirdar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good find @westse ! the bodies should be required. I diffed the cases where already specified required: true, and what we were missing and this covers the remainder!

@amogh-jahagirdar
Copy link
Copy Markdown
Contributor

I'll go ahead and merge, thanks @westse for fixing this and @nastra for reviewing.

@amogh-jahagirdar amogh-jahagirdar merged commit 1e66657 into apache:main Apr 12, 2024
sasankpagolu pushed a commit to sasankpagolu/iceberg that referenced this pull request Oct 27, 2024
zachdisc pushed a commit to zachdisc/iceberg that referenced this pull request Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenApi requestBody: some are optional but should be required

3 participants