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

create publicly exposed constants with endpoint names #975

Open
chaporgin opened this issue Jul 13, 2023 · 0 comments
Open

create publicly exposed constants with endpoint names #975

chaporgin opened this issue Jul 13, 2023 · 0 comments
Labels
enhancement New feature or request openapi-features OpenAPI features support issues

Comments

@chaporgin
Copy link

Description

It would be nice in the server to create publicly exposed constants with endpoint names passed to a.client.cfg.ServerURLWithContext(). We base our logic on it, and having it as an unnamed string makes it near to impossible to automatically check config during compile time/application start-up time. We have to check we keep using correct endpoints with rather complex tests.

References

@chaporgin chaporgin added enhancement New feature or request openapi-features OpenAPI features support issues labels Jul 13, 2023
@chaporgin chaporgin changed the title [SUBJECT]: [DESCRIPTION] create publicly exposed constants with endpoint names Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request openapi-features OpenAPI features support issues
Projects
None yet
Development

No branches or pull requests

1 participant