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 base URLs #155

Merged
merged 4 commits into from
Feb 3, 2020
Merged

Commits on Feb 3, 2020

  1. Use new versioned base URLs

    Have OpenAPI schemas only contain a single version of the full API,
    i.e., the routers for `/optimade/vMAJOR.MINOR` and
    `/optimade/vMAJOR.MINOR.PATCH` are added after the OpenAPI schema
    creation.
    The version-less base URL has been removed and the standard is now
    `/optimade/vMAJOR`.
    CasperWA committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    f6f6541 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4a0bd1 View commit details
    Browse the repository at this point in the history
  3. Revert HTTPException raise for path prefix in meta

    Due to the server tests, it is not straightforward to raise during
    creation of the top-level meta field, if the expected base URL prefix
    path is not found, e.g., `/optimade/v0`.
    Indeed, this should also issue an OPTiMaDe warning instead.
    CasperWA committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    796b6eb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    141b412 View commit details
    Browse the repository at this point in the history