Specification of the API Builder Input form (api.json). See https://app.apibuilder.io/doc/apiJson
| Name | Value | Description |
|---|---|---|
| path | path | |
| query | query | |
| form | form | |
| header | header |
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| description | string | No | - |
|
| deprecation | deprecation | No | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| name | string | Yes | - |
|
| info | info | No | - |
|
| namespace | string | No | - |
|
| base_url | string | No | - |
|
| description | string | No | - |
|
| imports | [import] | No | [] |
|
| headers | [header] | No | [] |
|
| enums | map[enum] | No | {} |
|
| interfaces | map[interface] | No | {} |
|
| templates | templates | No | - |
|
| unions | map[union] | No | {} |
|
| models | map[model] | No | {} |
|
| resources | map[resource] | No | {} |
|
| annotations | map[annotation] | No | {} |
|
| attributes | [attribute] | No | [] |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| name | string | Yes | - |
|
| value | object | Yes | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| type | string | Yes | - |
|
| description | string | No | - |
|
| attributes | [attribute] | No | - |
|
| deprecation | deprecation | No | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| name | string | No | - |
Example: Michael Bryzek |
| url | string | No | - |
Example: https://www.apibuilder.io |
| string | No | - |
Example: michael@test.apibuilder.io |
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| description | string | No | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| plural | string | No | - |
|
| description | string | No | - |
|
| values | [enum_value] | Yes | - |
|
| attributes | [attribute] | No | - |
|
| deprecation | deprecation | No | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| name | string | Yes | - |
|
| value | string | No | - |
|
| description | string | No | - |
|
| attributes | [attribute] | No | - |
|
| deprecation | deprecation | No | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| name | string | Yes | - |
|
| type | string | Yes | - |
|
| description | string | No | - |
|
| required | boolean | No | true |
|
| default | json | No | - |
|
| example | string | No | - |
|
| minimum | long | No | - |
|
| maximum | long | No | - |
|
| attributes | [attribute] | No | - |
|
| annotations | [string] | No | - |
|
| deprecation | deprecation | No | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| name | string | Yes | - |
|
| type | string | Yes | - |
|
| required | boolean | No | true |
|
| description | string | No | - |
|
| attributes | [attribute] | No | - |
|
| deprecation | deprecation | No | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| uri | string | Yes | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| contact | contact | No | - |
|
| license | license | No | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| plural | string | No | - |
|
| description | string | No | - |
|
| fields | [field] | No | - |
|
| attributes | [attribute] | No | - |
|
| deprecation | deprecation | No | - |
|
Interfaces: None
Describes the software license contact for this service
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| name | string | Yes | - |
Example: MIT |
| url | string | No | - |
Example: http://opensource.org/licenses/MIT |
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| description | string | No | - |
|
| plural | string | No | - |
|
| fields | [field] | No | [] |
|
| attributes | [attribute] | No | - |
|
| interfaces | [string] | No | - |
|
| templates | [template_declaration] | No | - |
|
| deprecation | deprecation | No | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| method | string | Yes | - |
|
| path | string | No | - |
|
| description | string | No | - |
|
| body | body | No | - |
|
| parameters | [parameter] | No | - |
|
| responses | map[response] | No | - |
|
| attributes | [attribute] | No | - |
|
| deprecation | deprecation | No | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| name | string | Yes | - |
|
| type | string | Yes | - |
|
| location | parameter_location | No | query |
|
| description | string | No | - |
|
| required | boolean | No | true |
|
| default | json | No | - |
|
| minimum | long | No | - |
|
| maximum | long | No | - |
|
| example | string | No | - |
|
| attributes | [attribute] | No | - |
|
| deprecation | deprecation | No | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| path | string | No | - |
|
| description | string | No | - |
|
| operations | [operation] | No | [] |
|
| attributes | [attribute] | No | - |
|
| templates | [template_declaration] | No | - |
|
| deprecation | deprecation | No | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| type | string | Yes | - |
|
| headers | [header] | No | - |
|
| description | string | No | - |
|
| deprecation | deprecation | No | - |
|
| attributes | [attribute] | No | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| name | string | Yes | - |
|
| cast | map[string] | No | - | Casts the types declared in the template to the types you want to use in this declaration
|
Interfaces: None
Experimental
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| models | map[model] | No | - |
|
| resources | map[resource] | No | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| plural | string | No | - |
|
| discriminator | string | No | - |
|
| description | string | No | - |
|
| types | [union_type] | Yes | - |
Minimum: 1 |
| attributes | [attribute] | No | - |
|
| interfaces | [string] | No | - |
|
| deprecation | deprecation | No | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| type | string | Yes | - |
|
| description | string | No | - |
|
| default | boolean | No | false |
|
| discriminator_value | string | No | - |
|
| attributes | [attribute] | No | - |
|
| deprecation | deprecation | No | - |
|