Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR cognitiveservices/data-plane/ComputerVision] Update CognitiveService ComputerVision Swagger for new extensions #1850

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
64 changes: 27 additions & 37 deletions profiles/latest/cognitiveservices/computervision/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,43 +78,36 @@ const (
Male Gender = original.Male
)

type Language1 = original.Language1

const (
En Language1 = original.En
Zh Language1 = original.Zh
)

type OcrLanguages = original.OcrLanguages

const (
OcrLanguagesAr OcrLanguages = original.OcrLanguagesAr
OcrLanguagesCs OcrLanguages = original.OcrLanguagesCs
OcrLanguagesDa OcrLanguages = original.OcrLanguagesDa
OcrLanguagesDe OcrLanguages = original.OcrLanguagesDe
OcrLanguagesEl OcrLanguages = original.OcrLanguagesEl
OcrLanguagesEn OcrLanguages = original.OcrLanguagesEn
OcrLanguagesEs OcrLanguages = original.OcrLanguagesEs
OcrLanguagesFi OcrLanguages = original.OcrLanguagesFi
OcrLanguagesFr OcrLanguages = original.OcrLanguagesFr
OcrLanguagesHu OcrLanguages = original.OcrLanguagesHu
OcrLanguagesIt OcrLanguages = original.OcrLanguagesIt
OcrLanguagesJa OcrLanguages = original.OcrLanguagesJa
OcrLanguagesKo OcrLanguages = original.OcrLanguagesKo
OcrLanguagesNb OcrLanguages = original.OcrLanguagesNb
OcrLanguagesNl OcrLanguages = original.OcrLanguagesNl
OcrLanguagesPl OcrLanguages = original.OcrLanguagesPl
OcrLanguagesPt OcrLanguages = original.OcrLanguagesPt
OcrLanguagesRo OcrLanguages = original.OcrLanguagesRo
OcrLanguagesRu OcrLanguages = original.OcrLanguagesRu
OcrLanguagesSk OcrLanguages = original.OcrLanguagesSk
OcrLanguagesSrCyrl OcrLanguages = original.OcrLanguagesSrCyrl
OcrLanguagesSrLatn OcrLanguages = original.OcrLanguagesSrLatn
OcrLanguagesSv OcrLanguages = original.OcrLanguagesSv
OcrLanguagesTr OcrLanguages = original.OcrLanguagesTr
OcrLanguagesUnk OcrLanguages = original.OcrLanguagesUnk
OcrLanguagesZhHans OcrLanguages = original.OcrLanguagesZhHans
OcrLanguagesZhHant OcrLanguages = original.OcrLanguagesZhHant
Ar OcrLanguages = original.Ar
Cs OcrLanguages = original.Cs
Da OcrLanguages = original.Da
De OcrLanguages = original.De
El OcrLanguages = original.El
En OcrLanguages = original.En
Es OcrLanguages = original.Es
Fi OcrLanguages = original.Fi
Fr OcrLanguages = original.Fr
Hu OcrLanguages = original.Hu
It OcrLanguages = original.It
Ja OcrLanguages = original.Ja
Ko OcrLanguages = original.Ko
Nb OcrLanguages = original.Nb
Nl OcrLanguages = original.Nl
Pl OcrLanguages = original.Pl
Pt OcrLanguages = original.Pt
Ro OcrLanguages = original.Ro
Ru OcrLanguages = original.Ru
Sk OcrLanguages = original.Sk
SrCyrl OcrLanguages = original.SrCyrl
SrLatn OcrLanguages = original.SrLatn
Sv OcrLanguages = original.Sv
Tr OcrLanguages = original.Tr
Unk OcrLanguages = original.Unk
ZhHans OcrLanguages = original.ZhHans
ZhHant OcrLanguages = original.ZhHant
)

type TextOperationStatusCodes = original.TextOperationStatusCodes
Expand Down Expand Up @@ -190,9 +183,6 @@ func PossibleErrorCodesValues() []ErrorCodes {
func PossibleGenderValues() []Gender {
return original.PossibleGenderValues()
}
func PossibleLanguage1Values() []Language1 {
return original.PossibleLanguage1Values()
}
func PossibleOcrLanguagesValues() []OcrLanguages {
return original.PossibleOcrLanguagesValues()
}
Expand Down
64 changes: 27 additions & 37 deletions profiles/preview/cognitiveservices/computervision/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,43 +78,36 @@ const (
Male Gender = original.Male
)

type Language1 = original.Language1

const (
En Language1 = original.En
Zh Language1 = original.Zh
)

type OcrLanguages = original.OcrLanguages

const (
OcrLanguagesAr OcrLanguages = original.OcrLanguagesAr
OcrLanguagesCs OcrLanguages = original.OcrLanguagesCs
OcrLanguagesDa OcrLanguages = original.OcrLanguagesDa
OcrLanguagesDe OcrLanguages = original.OcrLanguagesDe
OcrLanguagesEl OcrLanguages = original.OcrLanguagesEl
OcrLanguagesEn OcrLanguages = original.OcrLanguagesEn
OcrLanguagesEs OcrLanguages = original.OcrLanguagesEs
OcrLanguagesFi OcrLanguages = original.OcrLanguagesFi
OcrLanguagesFr OcrLanguages = original.OcrLanguagesFr
OcrLanguagesHu OcrLanguages = original.OcrLanguagesHu
OcrLanguagesIt OcrLanguages = original.OcrLanguagesIt
OcrLanguagesJa OcrLanguages = original.OcrLanguagesJa
OcrLanguagesKo OcrLanguages = original.OcrLanguagesKo
OcrLanguagesNb OcrLanguages = original.OcrLanguagesNb
OcrLanguagesNl OcrLanguages = original.OcrLanguagesNl
OcrLanguagesPl OcrLanguages = original.OcrLanguagesPl
OcrLanguagesPt OcrLanguages = original.OcrLanguagesPt
OcrLanguagesRo OcrLanguages = original.OcrLanguagesRo
OcrLanguagesRu OcrLanguages = original.OcrLanguagesRu
OcrLanguagesSk OcrLanguages = original.OcrLanguagesSk
OcrLanguagesSrCyrl OcrLanguages = original.OcrLanguagesSrCyrl
OcrLanguagesSrLatn OcrLanguages = original.OcrLanguagesSrLatn
OcrLanguagesSv OcrLanguages = original.OcrLanguagesSv
OcrLanguagesTr OcrLanguages = original.OcrLanguagesTr
OcrLanguagesUnk OcrLanguages = original.OcrLanguagesUnk
OcrLanguagesZhHans OcrLanguages = original.OcrLanguagesZhHans
OcrLanguagesZhHant OcrLanguages = original.OcrLanguagesZhHant
Ar OcrLanguages = original.Ar
Cs OcrLanguages = original.Cs
Da OcrLanguages = original.Da
De OcrLanguages = original.De
El OcrLanguages = original.El
En OcrLanguages = original.En
Es OcrLanguages = original.Es
Fi OcrLanguages = original.Fi
Fr OcrLanguages = original.Fr
Hu OcrLanguages = original.Hu
It OcrLanguages = original.It
Ja OcrLanguages = original.Ja
Ko OcrLanguages = original.Ko
Nb OcrLanguages = original.Nb
Nl OcrLanguages = original.Nl
Pl OcrLanguages = original.Pl
Pt OcrLanguages = original.Pt
Ro OcrLanguages = original.Ro
Ru OcrLanguages = original.Ru
Sk OcrLanguages = original.Sk
SrCyrl OcrLanguages = original.SrCyrl
SrLatn OcrLanguages = original.SrLatn
Sv OcrLanguages = original.Sv
Tr OcrLanguages = original.Tr
Unk OcrLanguages = original.Unk
ZhHans OcrLanguages = original.ZhHans
ZhHant OcrLanguages = original.ZhHant
)

type TextOperationStatusCodes = original.TextOperationStatusCodes
Expand Down Expand Up @@ -190,9 +183,6 @@ func PossibleErrorCodesValues() []ErrorCodes {
func PossibleGenderValues() []Gender {
return original.PossibleGenderValues()
}
func PossibleLanguage1Values() []Language1 {
return original.PossibleLanguage1Values()
}
func PossibleOcrLanguagesValues() []OcrLanguages {
return original.PossibleOcrLanguagesValues()
}
Expand Down
Loading