-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Closed
Labels
MetaTeam:CoreCore services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etcCore services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Description
Summary
We intend to use this issue to track progress of the work being done to enable Kibana's runtime validation schemas to generate OAS.
The approach
- Leverage existing runtime validation schemas, specifically
@kbn/config-schema
. It is possible to support other runtime validation schemas, but to start with we will only support@kbn/config-schema
. - Based on this PoC
Tasks
- Make necessary preparations to
@kbn/config-schema
, extract relevant changes from PoC: Derive OAS 3 from Kibana router #156357 - Introduce the new package where all code for generate OAS will live, furnish with unit tests [HTTP/OAS]
@kbn/router-to-openapispec
#180683 - Create integration tests (OAS will be served from a core-owned endpoint like
/api/oas
and treated asinternal
to begin with) [HTTP/OAS] HTTP API/api/oas
#181144 - Support
deprecated
fields [HTTP/OAS] Supportdeprecated
field #181240 - Support providing different content types for responses [HTTP/OAS] Support specifying content types #181697
- Announce that teams can start updating their schemas and see resulting OAS #181991
- [OAS] Create and commit OAS bundle #181992
- Add support for recursive schemas #182910
- Support tags #183935
- Add operations tagging for more intentional grouping of APIs #182649
- Improve support for enums #182658
- Create a serverless bundle #184719
- Add support for more detailed descriptions of APIs #182779
- [HTTP/OAS] Support deprecated operations #186003
Future tasks
Metadata
Metadata
Assignees
Labels
MetaTeam:CoreCore services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etcCore services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc