GPTs Action Builder

GPTs Action Builder · Ações GPT

OpenAPI Retriever

API that allows search and retrieval of OpenAPI specifications.

  • POST /openapi/searchSearch For Openapi Schemas

    Search for OpenAPI schemas in the public Postman Collections repositories.

  • GET /openapi/{schema_id}Get Openapi Schema

    Retrieve an OpenAPI schema from an id returned from the search endpoint.

Esquema API original
{
    "openapi": "3.1.0",
    "info": {
        "title": "OpenAPI Retriever",
        "description": "API that allows search and retrieval of OpenAPI specifications.",
        "version": "0.0.0"
    },
    "servers": [
        {
            "url": "https://xt75oe6w3xolwrdlcrle5yqhx40ewhxp.lambda-url.us-east-1.on.aws"
        }
    ],
    "paths": {
        "/openapi/search": {
            "post": {
                "tags": [
                    "openapi"
                ],
                "summary": "Search For Openapi Schemas",
                "description": "Search for OpenAPI schemas in the public Postman Collections repositories.",
                "operationId": "search_openapi_schemas",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/OpenAPISchemaSearchRequest"
                            }
                        }
                    },
                    "required": true
                }
            }
        },
        "/openapi/{schema_id}": {
            "get": {
                "tags": [
                    "openapi"
                ],
                "summary": "Get Openapi Schema",
                "description": "Retrieve an OpenAPI schema from an id returned from the search endpoint.",
                "operationId": "get_openapi_schema",
                "parameters": [
                    {
                        "name": "schema_id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "title": "The ID of the schema to retrieve."
                        }
                    }
                ]
            }
        }
    },
    "components": {
        "schemas": {
            "OpenAPISchemaSearchRequest": {
                "properties": {
                    "searchQuery": {
                        "type": "string",
                        "title": "Searchquery",
                        "description": "The search query to use to search for OpenAPI schemas."
                    }
                },
                "type": "object",
                "required": [
                    "searchQuery"
                ],
                "title": "OpenAPISchemaSearchRequest",
                "description": "Define the model for the OpenAPI Schema Search Request."
            }
        }
    }
}