You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2024. It is now read-only.
Add an OpenAPI specification format specifier to prevent unnecessarily downloading the service contract (#504)
* #499 - Prevent crash when no products are associated with a particular api.
* Do *not* unnecessarily download the OpenAPI definition.
Co-authored-by: Maxime LABELLE <maxime.labelle@chanel.com>
Co-authored-by: RupengLiu <rliu1211@terpmail.umd.edu>
Copy file name to clipboardExpand all lines: src/APIM_ARMTemplate/README.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,7 @@ The utility requires one argument, --configFile, which points to a yaml file tha
48
48
| serviceUrl | string | No | Absolute URL of the backend service implementing this API. |
49
49
| type | enum | No | Type of API. - http or soap |
50
50
| openApiSpec | string | Yes | Location of the Open API Spec file. Can be url or local file. |
51
+
| openApiSpecFormat | string | No | Format of the API definition. When the `openApiSpec` property refers to a local file, the program will infer the format if this property is omitted. If the `openApiSpec` property refers to a url, you can prevent downloading the API definition by specifying this property. Valid values are `Swagger` (JSON), `Swagger_Json`, `OpenApi20` (YAML), `OpenApi20_Yaml`, `OpenApi20_Json`, `OpenApi30` (YAML), `OpenApi30_Yaml`, or `OpenApi30_Json`.
51
52
| policy | string | No | Location of the API policy XML file. Can be url or local file. |
52
53
| suffix | string | Yes | Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API. |
53
54
| subscriptionRequired | boolean | No | Specifies whether an API or Product subscription is required for accessing the API. |
0 commit comments