Skip to content

Add security details to generated OpenAPI specs#74

Merged
euano merged 2 commits intomasterfrom
openAPI-spec-security-improvements
Mar 3, 2026
Merged

Add security details to generated OpenAPI specs#74
euano merged 2 commits intomasterfrom
openAPI-spec-security-improvements

Conversation

@euano
Copy link
Contributor

@euano euano commented Mar 2, 2026

No description provided.

…will be included in the OpenAPI document generated
Copy link
Contributor

@lucyr82 lucyr82 left a comment

Choose a reason for hiding this comment

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

Looks good but I think we should leave the security fields off entirely if nothing is passed through. It will minimise changes for existing usages. I've also found some evidence that an empty security schemes object may not be valid.

@euano euano merged commit 9d495cb into master Mar 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants