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

Should we prevent space inside endpoint name/operationId #3932

Open
strokyl opened this issue Jul 15, 2024 · 1 comment
Open

Should we prevent space inside endpoint name/operationId #3932

strokyl opened this issue Jul 15, 2024 · 1 comment

Comments

@strokyl
Copy link
Contributor

strokyl commented Jul 15, 2024

Using this tool to analyze our generated open API specification, we realize that using space in operationId isn't a good practice.
The thing is that apparently, it's more of a recommendation: OAI/OpenAPI-Specification#423 than an open API specification requirement.
Therefore, I wonder if a pull request to Tapir preventing Tapir users from putting space in name would be welcome.

@adamw
Copy link
Member

adamw commented Jul 15, 2024

Maybe this should be a flag on EndpointVerifier, that's true by default?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants