Skip to content

Validation does not support different host templates across separate specs #4419

Closed

Description

If separate swaggers are together in a data plane RP and use different host templates like {Endpoint}/language and {Endpoint}/language/authoring to simplify authoring, validations tools are erring that,

"location":"specification/cognitiveservices/data-plane/Language/readme.md",
"tag":"[release_2022_10_01_preview](https://github.com/Azure/azure-rest-api-specs/blob/9b5852c414e04fe51c97c3a40820df937d1d937e/specification/cognitiveservices/data-plane/Language/readme.md#tag-release_2022_10_01_preview)",
"details":"Error: '$["x-ms-parameterized-host"].hostTemplate' has incompatible values (---'Endpoint/language',
---'Endpoint/language/authoring')."

See Azure/azure-rest-api-specs#21068 (comment) for more information.

This may also be a problem related to #3309. @tjprescott this should also be solved for Cadl, right? That each client within an SDK (1 or more) should have a separate directory for Cadl?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Spec PR ToolsTooling that runs in azure-rest-api-specs repo.

Type

No type

Projects

  • Status

    🎊 Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions