Specification of apidoc api.json schema
Base URL: http://api.apidoc.me
body
| Field | Type |
|---|---|
| type required | string |
| description | string |
enum
| Field | Type |
|---|---|
| description | string |
| values required | [enum_value] |
enum_value
| Field | Type |
|---|---|
| name required | string |
| description | string |
field
| Field | Type | Description |
|---|---|---|
| name required | string | |
| type required | string | |
| description | string | |
| default | string | |
| required required | boolean | default: true |
| minimum | long | |
| maximum | long | |
| example | string |
header
| Field | Type |
|---|---|
| name required | string |
| type required | string |
| description | string |
| required required | boolean |
| default | string |
model
| Field | Type | Description |
|---|---|---|
| plural | string | Defaults to the plural of the model name. Used to generate resource paths which by default map to the plural of the model name |
| description | string | |
| fields required | [field] |
operation
parameter
| Field | Type | Description |
|---|---|---|
| name required | string | |
| type required | string | |
| location | parameter_location | |
| description | string | |
| required required | boolean | default: true |
| default | string | |
| minimum | long | |
| maximum | long | |
| example | string |
resource
| Field | Type | Description |
|---|---|---|
| description | string | |
| path | string | Defaults to the plural of the model name |
| operations required | [operation] |
response
| Field | Type |
|---|---|
| type required | string |