rajikaimal / gcp-api-gateway-openapi-options

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gcp-api-gateway-openapi-options

⚠️ 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

About


Languages

Language:JavaScript 100.0%