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

Update the "server"-section to align with other CAMARA specifications #77

Closed
maxl2287 opened this issue Jan 5, 2024 · 0 comments · Fixed by #78
Closed

Update the "server"-section to align with other CAMARA specifications #77

maxl2287 opened this issue Jan 5, 2024 · 0 comments · Fixed by #78

Comments

@maxl2287
Copy link
Contributor

maxl2287 commented Jan 5, 2024

Problem description
Some changes would align with other specifications, such as e.g. DeviceLocation.

servers:
  - url: https://{host}{basePath}
    variables:
      host:
        default: api.example.com
        description: Host that serves the API
      basePath:
        default: /number-verification/v0
        description: Base path for the number verification API

Expected behavior

servers:
  - url: '{apiRoot}/number-verification/v0'
    variables:
      apiRoot:
        default: http://localhost:9091
        description: API root

Additional context
Reference to other specifications:

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

Successfully merging a pull request may close this issue.

1 participant