Skip to content

Commit

Permalink
[AutoPR cognitiveservices/data-plane/QnAMaker] Adding missing docs fo…
Browse files Browse the repository at this point in the history
…r existing routes for QnA Maker APIM (#4890)

* Generated from 0dd0ff87da9de5f860f0d12d000bcdbfe6410ac1

Adding missing docs for existing routes for QnA Maker APIM
  - Add /endpointsetttings path for service
Adding new docs for existing routes for QnA Maker Runtime
  - New swagger file as the "x-ms-parameterized-host" is different for them
  - Add /generateAnswer path for Runtime
  - Add /train path for Runtime

* Generated from 687af7de398381b75153b1923c9c5a1d4c5336b5

fix parameter

* Generated from 03560daa4aa2cc4fa347707374bf82c81f47e05c

update readme.md

* Generated from 8ae17e91d45e1fc5c0db23826c2c0ca20d3b886d

spellcheck
  • Loading branch information
AutorestCI authored Jun 3, 2019
1 parent e4e9bb2 commit 72758fe
Show file tree
Hide file tree
Showing 7 changed files with 223 additions and 0 deletions.
8 changes: 8 additions & 0 deletions profiles/latest/cognitiveservices/qnamaker/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const (
Succeeded OperationStateType = original.Succeeded
)

type ActiveLearningSettingsDTO = original.ActiveLearningSettingsDTO
type AlterationsClient = original.AlterationsClient
type AlterationsDTO = original.AlterationsDTO
type BaseClient = original.BaseClient
Expand All @@ -72,6 +73,9 @@ type CreateKbInputDTO = original.CreateKbInputDTO
type DeleteKbContentsDTO = original.DeleteKbContentsDTO
type EndpointKeysClient = original.EndpointKeysClient
type EndpointKeysDTO = original.EndpointKeysDTO
type EndpointSettingsClient = original.EndpointSettingsClient
type EndpointSettingsDTO = original.EndpointSettingsDTO
type EndpointSettingsDTOActiveLearning = original.EndpointSettingsDTOActiveLearning
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type ErrorResponseError = original.ErrorResponseError
Expand All @@ -89,6 +93,7 @@ type QnADTO = original.QnADTO
type QnADTOContext = original.QnADTOContext
type QnADocumentsDTO = original.QnADocumentsDTO
type ReplaceKbDTO = original.ReplaceKbDTO
type String = original.String
type UpdateContextDTO = original.UpdateContextDTO
type UpdateKbContentsDTO = original.UpdateKbContentsDTO
type UpdateKbOperationDTO = original.UpdateKbOperationDTO
Expand All @@ -112,6 +117,9 @@ func NewAlterationsClient(endpoint string) AlterationsClient {
func NewEndpointKeysClient(endpoint string) EndpointKeysClient {
return original.NewEndpointKeysClient(endpoint)
}
func NewEndpointSettingsClient(endpoint string) EndpointSettingsClient {
return original.NewEndpointSettingsClient(endpoint)
}
func NewKnowledgebaseClient(endpoint string) KnowledgebaseClient {
return original.NewKnowledgebaseClient(endpoint)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v4

type AlterationsClientAPI = original.AlterationsClientAPI
type EndpointKeysClientAPI = original.EndpointKeysClientAPI
type EndpointSettingsClientAPI = original.EndpointSettingsClientAPI
type KnowledgebaseClientAPI = original.KnowledgebaseClientAPI
type OperationsClientAPI = original.OperationsClientAPI
8 changes: 8 additions & 0 deletions profiles/preview/cognitiveservices/qnamaker/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const (
Succeeded OperationStateType = original.Succeeded
)

type ActiveLearningSettingsDTO = original.ActiveLearningSettingsDTO
type AlterationsClient = original.AlterationsClient
type AlterationsDTO = original.AlterationsDTO
type BaseClient = original.BaseClient
Expand All @@ -72,6 +73,9 @@ type CreateKbInputDTO = original.CreateKbInputDTO
type DeleteKbContentsDTO = original.DeleteKbContentsDTO
type EndpointKeysClient = original.EndpointKeysClient
type EndpointKeysDTO = original.EndpointKeysDTO
type EndpointSettingsClient = original.EndpointSettingsClient
type EndpointSettingsDTO = original.EndpointSettingsDTO
type EndpointSettingsDTOActiveLearning = original.EndpointSettingsDTOActiveLearning
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type ErrorResponseError = original.ErrorResponseError
Expand All @@ -89,6 +93,7 @@ type QnADTO = original.QnADTO
type QnADTOContext = original.QnADTOContext
type QnADocumentsDTO = original.QnADocumentsDTO
type ReplaceKbDTO = original.ReplaceKbDTO
type String = original.String
type UpdateContextDTO = original.UpdateContextDTO
type UpdateKbContentsDTO = original.UpdateKbContentsDTO
type UpdateKbOperationDTO = original.UpdateKbOperationDTO
Expand All @@ -112,6 +117,9 @@ func NewAlterationsClient(endpoint string) AlterationsClient {
func NewEndpointKeysClient(endpoint string) EndpointKeysClient {
return original.NewEndpointKeysClient(endpoint)
}
func NewEndpointSettingsClient(endpoint string) EndpointSettingsClient {
return original.NewEndpointSettingsClient(endpoint)
}
func NewKnowledgebaseClient(endpoint string) KnowledgebaseClient {
return original.NewKnowledgebaseClient(endpoint)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v4

type AlterationsClientAPI = original.AlterationsClientAPI
type EndpointKeysClientAPI = original.EndpointKeysClientAPI
type EndpointSettingsClientAPI = original.EndpointSettingsClientAPI
type KnowledgebaseClientAPI = original.KnowledgebaseClientAPI
type OperationsClientAPI = original.OperationsClientAPI
172 changes: 172 additions & 0 deletions services/cognitiveservices/v4.0/qnamaker/endpointsettings.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions services/cognitiveservices/v4.0/qnamaker/models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 72758fe

Please sign in to comment.