Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/api-management/service/apis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ This module deploys an API Management Service API.
| `apiDescription` | string | `''` | | Description of the API. May include HTML formatting tags. |
| `apiRevision` | string | `''` | | Describes the Revision of the API. If no value is provided, default revision 1 is created. |
| `apiRevisionDescription` | string | `''` | | Description of the API Revision. |
| `apiType` | string | `'http'` | `[http, soap]` | Type of API to create. * http creates a SOAP to REST API * soap creates a SOAP pass-through API. |
| `apiType` | string | `'http'` | `[graphql, http, soap, websocket]` | Type of API to create. * http creates a SOAP to REST API * soap creates a SOAP pass-through API. |
| `apiVersion` | string | `''` | | Indicates the Version identifier of the API if the API is versioned. |
| `apiVersionDescription` | string | `''` | | Description of the API Version. |
| `apiVersionSetId` | string | `''` | | Indicates the Version identifier of the API version set. |
Expand All @@ -53,7 +53,7 @@ This module deploys an API Management Service API.
| `sourceApiId` | string | `''` | | API identifier of the source API. |
| `subscriptionKeyParameterNames` | object | `{object}` | | Protocols over which API is made available. |
| `subscriptionRequired` | bool | `False` | | Specifies whether an API or Product subscription is required for accessing the API. |
| `type` | string | `'http'` | `[http, soap]` | Type of API. |
| `type` | string | `'http'` | `[graphql, http, soap, websocket]` | Type of API. |
| `value` | string | `''` | | Content value when Importing an API. |
| `wsdlSelector` | object | `{object}` | | Criteria to limit import of WSDL to a subset of the document. |

Expand Down
6 changes: 5 additions & 1 deletion modules/api-management/service/apis/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ param apiRevision string = ''
@description('Optional. Description of the API Revision.')
param apiRevisionDescription string = ''

@description('Optional. Type of API to create. * http creates a SOAP to REST API * soap creates a SOAP pass-through API.')
@description('Optional. Type of API to create. * http creates a REST API * soap creates a SOAP pass-through API * websocket creates websocket API * graphql creates GraphQL API.')
@allowed([
'graphql'
'http'
'soap'
'websocket'
])
param apiType string = 'http'

Expand Down Expand Up @@ -83,8 +85,10 @@ param subscriptionRequired bool = false

@description('Optional. Type of API.')
@allowed([
'graphql'
'http'
'soap'
'websocket'
])
param type string = 'http'

Expand Down