Skip to content

OpenAPI: Add namespace into server url? #1462

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

Closed
bkoelman opened this issue Feb 15, 2024 · 1 comment
Closed

OpenAPI: Add namespace into server url? #1462

bkoelman opened this issue Feb 15, 2024 · 1 comment

Comments

@bkoelman
Copy link
Member

bkoelman commented Feb 15, 2024

See conversation at microsoft/kiota#4004.

Depends on #1479.

@bkoelman bkoelman changed the title OPEN API: Add namespace into server url? OpenAPI: Add namespace into server url? Feb 16, 2024
@bkoelman
Copy link
Member Author

bkoelman commented Mar 3, 2024

Doing so generates broken NSwag/Kiota clients, because the endpoint URL already contains the namespace prefix. When no server URL is emitted, the endpoints in the swagger.json (procured by Swashbuckle) are wrong. This is not a good idea.

@bkoelman bkoelman closed this as not planned Won't fix, can't repro, duplicate, stale Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant