Skip to content

Conversation

@kennyderek
Copy link
Contributor

  1. previously, if generators.yml had an auth-scheme section, we would:
    a. remove openapi securitySchemes
    b. replace openapi securitySchemes with the singular auth
  2. openapi endpoints / global security that referenced the replaced security schemes would not resolve to the correct key

now:

  1. if generators.yml had an auth-scheme section
    a. combine the security schemes into a set of security schemes
    b. if openapi has NO global security, then set a global security value using the generators.yml override auth
  2. now openapi endpoints referencing openapi specs will resolve, and also generators.yml security will be present globally

@github-actions
Copy link
Contributor

🌱 Seed Test Selector

Select languages to run seed tests for:

  • Python
  • TypeScript
  • Java
  • Go
  • Ruby
  • C#
  • PHP
  • Swift
  • Rust
  • OpenAPI
  • Postman

How to use: Click the ⋯ menu above → "Edit" → check the boxes you want → click "Update comment". Tests will run automatically and snapshots will be committed to this PR.

@kennyderek kennyderek changed the title merge auth overrides fix(docs): merge auth overrides Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants