| Method and Path | Description | ||
|---|---|---|---|
| POST | /accounts | ||
| GET | /accounts/:id | ||
| GET | /accounts/:id/foo | A mock to test returning a raw array. This is not a practical method to implement in a production environment. In production you would return a page object but here we want to test to ensure generators are handling raw array return value. |
|
| GET | /accounts | A mock to test returning a raw array. This is not a practical method to implement in a production environment. In production you would return a page object but here we want to test to ensure generators are handling raw array return value. |
|
| DELETE | /accounts/:id | Delete an Account resource by id. |
|
| http://api.apibuilder.io/bml/annotation/0.0.1/service.json |
| http://api.apibuilder.io/bml/validation/0.0.1/service.json |
Test Enumeration provides a useful test for enumeration based code generation.
| Name | Value | Description |
|---|---|---|
| foo | foo | A foo enumeration entry. |
| bar | bar | A bar enumeration entry. |
Interfaces: None
This is the top level in the system. It represents a specific client.
| Field | Type | Required? | Default | Description | Annotations |
|---|---|---|---|---|---|
| id | uuid | Yes | - | The Universally Unique Identifier. See RFC 4122.
|
|
| awsAccount | string | Yes | - | Test param for a pattern restricted string.
Minimum: 1 |
|
| name | string | Yes | - | A unique human readable string name.
Minimum: 1 |
|
| enabled | boolean | Yes | - | Adds the ability to enable / disable this resource.
|
Interfaces: None
A form used for creating an Account resource.
| Field | Type | Required? | Default | Description | Annotations |
|---|---|---|---|---|---|
| name | string | Yes | - | A unique human readable string name.
Minimum: 1 |
|
| enabled | boolean | Yes | - | Adds the ability to enable / disable this resource.
|
Interfaces: None
A model client for testing generation.
| Field | Type | Required? | Default | Description | Annotations |
|---|---|---|---|---|---|
| accounts | [account] | Yes | - | test field to make sure non empty lists are non empty in generated mock factories.
Maximum: 3 |
Interfaces: None
A response model for the standard health check resource.
| Field | Type | Required? | Default | Description | Annotations |
|---|---|---|---|---|---|
| status | string | Yes | - | A general status string.
Minimum: 1 |
Marker for accessability fields/features, should trigger logging when empty or null
Marker for uri fields, add validation when possible
Marker for https only uris fields, add validation when possible
Marker for example field values, used for code generation of mocks, cdc, ect
Marked objects are considered case insensitive
Marked fields should be localized
Marked fields will get db indexes and apropriate repository methods
Marked models will get hibernate annotations
Marked model fields will be held unique
Marked model will use the snake case naming strategy for JsonNaming. This helps deal with outside apis.