You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then Counterfact should act as if every operation has a required request header named "api_key" when generating code.
Note: this only covers "apiKey" authentication. OpenAPI also "http", "mutualTLS", "oauth2", "openIdConnect". Eventually we'll want to support "http" and "oauth2" as well. I'm not sure the others worth pursuing.
The text was updated successfully, but these errors were encountered:
Counterfact doesn't currently read the security object of the OpenAPI schema.
When generating types, it should take that object into account.
For example, if the security object is defined as:
Then Counterfact should act as if every operation has a required request header named "api_key" when generating code.
Note: this only covers "apiKey" authentication. OpenAPI also "http", "mutualTLS", "oauth2", "openIdConnect". Eventually we'll want to support "http" and "oauth2" as well. I'm not sure the others worth pursuing.
The text was updated successfully, but these errors were encountered: