Specification support in REST API resource
When creating a new REST API resource, you can now connect an OpenAPI or Swagger specification. Connecting an API specification enables:
- Autocomplete: Get endpoint and parameter suggestions when writing queries.
- Validation: Retool validates requests against the specification schema.
- Better Assist: Assist can more effectively generate queries based on the specification.
- Documentation: Endpoint descriptions from the specification appear in the query editor.
When working with resources, users can also manually create endpoints or parameters that aren't included in the specification.
This feature is currently rolling out to cloud instances, and it will be available in an upcoming edge release.