Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rajikaimal/gcp-api-gateway-openapi-options


https://github.com/rajikaimal/gcp-api-gateway-openapi-options

Last synced: 10 days ago
JSON representation

Awesome Lists containing this project

README

        

# gcp-api-gateway-openapi-options

> :warning: GCP API Gateway supports OpenAPI spec 2.0 at the time of writing this, however modern applications are using OpenAPI spec >3.0. Therefore to deploy with api gateway the OpenAPI spec can be converted to 2.0. However to support CORS, OPTIONS method should be specified in the spec. This GitHub Action appends OPTIONS to each endpoint specified in the OpenAPI spec.

## Inputs

### `input-file-path`

**Required** input open-api yaml file path.

### `output-file-path`

**Required** output yaml file path.

MIT