class GdsApi::PublishingApi
def get_schemas
- See: https://github.com/alphagov/publishing-api/blob/main/docs/api.md#get-v2schemas -
Returns:
-
(GdsApi::Response)
- A map of schema names with JSON schemas.
def get_schemas get_json("#{endpoint}/v2/schemas").to_hash end