-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Typescript axios needed functions #22755
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?
Typescript axios needed functions #22755
Conversation
…ion-based names for external ref schemas
…unctions (OpenAPITools#22751) - Add allowsAnonymous field to CodegenOperation to track if endpoint allows anonymous access - Update DefaultGenerator to detect empty SecurityRequirement (anonymous allowed) - Pass allowsAnonymous flag through templates to authentication helper functions - Update auth functions to accept allowsAnonymous parameter - When allowsAnonymous is true, auth functions gracefully handle failures Fixes OpenAPITools#22751
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.
No issues found across 5 files
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.
No issues found across 7 files
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.
No issues found across 2 files
395808e to
e2fab1b
Compare
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.
No issues found across 3 files
Summary by cubic
Add anonymous access support to the typescript-axios generator and fix schema naming for content refs. Endpoints that allow anonymous access no longer fail auth setup, and models use referenced component names for clearer, consistent output.
Written for commit e2fab1b. Summary will update on new commits.