Skip to content

Refactor security scheme naming in AuthDocumentTransformer#158

Merged
marcominerva merged 1 commit intomasterfrom
develop
Jun 19, 2025
Merged

Refactor security scheme naming in AuthDocumentTransformer#158
marcominerva merged 1 commit intomasterfrom
develop

Conversation

@marcominerva
Copy link
Copy Markdown
Owner

Updated the naming convention for security schemes in the AuthenticationDocumentTransformer class. The new format appends a suffix to the scheme name (e.g., "-Header" and "-QueryString") instead of using descriptive phrases. This change enhances consistency and clarity in the generated documentation for both header and query string security schemes.

Refactor security scheme naming in OpenAPI document

This update changes the naming convention for security schemes added to the OpenAPI document. Instead of descriptive strings that include the scheme name and location, the new implementation appends a suffix to the scheme name (e.g., "{settings.SchemeName}-Header" for headers and "{settings.SchemeName}-QueryString" for query strings). This improves consistency, clarity, and maintainability of the security scheme definitions.

Updated the naming convention for security schemes in the
`AuthenticationDocumentTransformer` class. The new format
appends a suffix to the scheme name (e.g., "-Header" and
"-QueryString") instead of using descriptive phrases. This
change enhances consistency and clarity in the generated
documentation for both header and query string security schemes.

Refactor security scheme naming in OpenAPI document

This update changes the naming convention for security schemes added to the OpenAPI document. Instead of descriptive strings that include the scheme name and location, the new implementation appends a suffix to the scheme name (e.g., `"{settings.SchemeName}-Header"` for headers and `"{settings.SchemeName}-QueryString"` for query strings). This improves consistency, clarity, and maintainability of the security scheme definitions.
@marcominerva marcominerva merged commit 4e24e25 into master Jun 19, 2025
4 checks 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.

1 participant