Oracle API Gateway Object Type - API Specification
API Specification is the logical configuration of the API exposed by a deployment.
API Specification files are validated at build time.
Object Type Identification
When populating files from source control management (SCM), FlexDeploy will classify all files with extension of .json or .yaml (case-insensitive) as API Specifications regardless of location.
File Extensions
.json
.yaml
Object Type Code
API_SPECIFICATION
Attributes
Name | Code | Description | Default Value | Supported Values |
---|---|---|---|---|
Compartment Name |
| The compartment to deploy this api to. FlexDeploy assume compartment name is unique for the given tenancy as OCID is determined from compartment name. If path length is sufficient, then Compartment Name is set to | Â | Â |
Gateway Name |
| The gateway to deploy this api to. FlexDeploy assumes gateway name is unique in the above compartment as OCID is determined from gateway name. If path length is sufficient, then Gateway Name is set to |
| Â |
Path Prefix |
| The path on which to deploy all routes contained in the API deployment specification. Path must begin with forward slash. Default Value is the entire path after the third part, but before file name. i.e. /Compartment/Gateway/A/B/C/openapi.json → /A/B/C For more information, see Deploying an API on an API Gateway by Creating an API Deployment. |
| Â |
Display Name |
| The user-friendly name to call this api. |
| Â |
Rollback Source Type     |
| Where to retrieve file when initiating a rollback deployment. | Project Version | Project Version, SCM Revision, Backup Repository, and Rollback File SCM Revision and Rollback File options are only available when the project has SCM details configured, and Backup Repository should only be used if the FlexDeploy server and project are configured to take backups. |
Rollback File |
| The associated file to deploy which will roll back this file. Only applicable when Rollback Source Type is Rollback File | Â | Any project file sourced from SCM |
Considerations
N/A
Â
- style