Skip to content

fix: honor inherited OpenAPI security - #58

Draft
cloudcarver wants to merge 1 commit into
mainfrom
agent/security-openapi-inherited-auth
Draft

fix: honor inherited OpenAPI security#58
cloudcarver wants to merge 1 commit into
mainfrom
agent/security-openapi-inherited-auth

Conversation

@cloudcarver

Copy link
Copy Markdown
Owner

Summary

  • apply top-level OpenAPI security when an operation omits its own security field
  • preserve explicit empty operation security as an anonymous override
  • normalize inherited schemes, scopes, and anonymous alternatives deterministically
  • add generated Fiber behavior tests for protected and public routes

Validation

  • go test ./...
  • go test -race ./pkg/codegen/oapi
  • go vet ./...

Closes #37

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.

[Security] Honor inherited OpenAPI security requirements

1 participant