Skip to content

API Gateway - OpenAPI 3.1

3

Are there any plans to support OpenAPI 3.1? It's critical for our business to use many features of JSON-Schema, like Schema validation.

1 Answer
0

Hello nchadwick, thank you for your question about OpenAPI 3.1 support in Amazon API Gateway. As of 1/18/25, API Gateway officially supports OpenAPI 2.0 and 3.0 specifications. While there are currently no public announcements regarding support for OpenAPI 3.1, AWS regularly evaluates and updates its services based on customer needs and industry standards.

Regarding your specific need for JSON Schema validation features:

API Gateway does offer request validation capabilities, though they may not cover all the features available in OpenAPI 3.1 and JSON Schema.

For more advanced schema validation, you might consider implementing custom validation logic in your backend services or using a Lambda authorizer.

If OpenAPI 3.1 features are critical for your business, I recommend:

  1. Submitting a feature request to the AWS support team
  2. Exploring workarounds using existing API Gateway features and integration.
  3. Checking the AWS documentation regularly for updates on API Gateway capabilities

In the meantime, you can leverage other AWS services in conjunction with API Gateway to enhance your API management and validation:

  1. Use AWS Lambda for custom request processing and validation
  2. Implement application-level validation in your backend services.
  3. Utilize Amazon EventBridge for event-driven architectures with schema validation

For the most up-to-date information on API Gateway features and supported specifications, please refer to the official AWS documentation (see Additional Resources below).

Additional Resources:

Amazon API Gateway important notes - Amazon API Gateway

Creating an event schema in Amazon EventBridge - Amazon EventBridge

Use OpenAPI definitions for HTTP APIs in API Gateway - Amazon API Gateway

Hopefully this helps provide some guidance. Best of luck and thank you for using AWS!

Brian

AWS

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.