OpenAPI
Glue supports openapi as a code generation target, allowing you to generate OpenAPI specifications from Glue files. This can be useful for defining RESTful APIs and generating client libraries or server stubs in various programming languages.
Glue currently supports OpenAPI v3.0, and only JSON output.
Simply run:
shell
#Example
For this Glue spec:
glue
...generating an OpenAPI spec...
shell
...will produce:
json
#Current limitations
- Proper typing of query/path parameters, authentication/authorization schemes are not yet supported