Skip to content

This document

This document

Operation ID: getOpenapi
Authorization: None

Query parameters

f string
The optional f parameter indicates the output format which the server shall provide as part of the response document. The default format is GeoJSON. Allowed values: `json`, `html`, `jsonld`. Default: `json`.
lang string
The optional lang parameter instructs the server return a response in a certain language, if supported. If the language is not among the available values, the Accept-Language header language will be used if it is supported. If the header is missing, the default server language is used. Note that providers may only support a single language (or often no language at all), that can be different from the server language. Language strings can be written in a complex (e.g. "fr-CA,fr;q=0.9,en-US;q=0.8,en;q=0.7"), simple (e.g. "de") or locale-like (e.g. "de-CH" or "fr_BE") fashion. Allowed values: `en-US`, `fr-CA`. Default: `en-US`.
ui string
UI to render the OpenAPI document Allowed values: `swagger`, `redoc`. Default: `swagger`.

Responses

successful operation

A query parameter has an invalid value.

Content type: application/json

Schema: ogcapi-features-1__exception

Properties

Property Type Required Description
code string Yes —
description string No —

Example

{
  "code": "string",
  "description": "string"
}

Content type: text/html

Schema: string

Example

string

Unexpected error

Content type: application/json

Schema: object of any

Properties

Property Type Required Description
type string Yes —
title string No —
status integer No —
detail string No —
instance string No —

Example

{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string"
}