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
NOTE: I believe that you could have the same list of securitySchemes for both documents, but the security list for the serverless document would not include basicAuth.
In the Kibana openAPI document, it looks like this:
security:
- apiKeyAuth: []
- basicAuth: []
...
securitySchemes:
apiKeyAuth:
description: |
These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: `Authorization: ApiKey base64AccessApiKey`
in: header
name: Authorization
type: apiKey
basicAuth:
scheme: basic
type: http
The text was updated successfully, but these errors were encountered:
🚀 Feature Proposal
The OpenAPI documents are missing securitySchemes and security declarations.
They could perhaps be added similarly to the
info
in https://github.com/elastic/elasticsearch-specification/blob/main/compiler/src/steps/add-info.tsNOTE: I believe that you could have the same list of securitySchemes for both documents, but the
security
list for the serverless document would not includebasicAuth
.Motivation
Relates to elastic/docs-content#192
Example
In the Kibana openAPI document, it looks like this:
The text was updated successfully, but these errors were encountered: