Spec Get Schema
API Specs
Spec Get Schema
Get a specific spec schema.
Retrieves the schema of a spec identified by its API name.
Parameters:
- api_name (str): The name of the spec to retrieve information for.
- current_user (dict): The current user making the request. Retrieved using dependency injection.
Returns:
- The OpenAPI spec in JSON format
Raises:
- HTTPException(404): If the spec with the provided API name is not found.
- HTTPException(500): If an error occurs while fetching the spec information.
