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

Change default format from jsonv2 to geocodejson #10

Merged
merged 19 commits into from
Nov 6, 2023

Commits on Oct 2, 2023

  1. feat: change default format from jsonv2 to geocodejson

    Define GeocodeJSON json schema for both `search` and `lookup` endpoints and clean now useless schemas.
    
    Refs: #2
    jenkin committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    8232cbf View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. feat: define geocodejson schema from geojson

    Reference GeoJSON schema to define the GeocodeJSON one. Put it in a standalone file and reference it inside the OpenAPI spec.
    
    Refs: #2
    jenkin committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    fa95270 View commit details
    Browse the repository at this point in the history
  2. feat: add validation and minification

    Add `make validate` utility using `@apidevtools/swagger-cli` to validate OpenAPI spec.
    
    Add `make bundle` utility to dereference and minify OpenAPI spec and JSON schema.
    
    New dependency: `npx`.
    
    Refs: #2
    jenkin committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    032f4e7 View commit details
    Browse the repository at this point in the history
  3. feat: update git hooks with validation and bundling

    Now checksums are computed (pre-commit) and checked (pre-push) for both OpenAPI spec and JSON schema and their minified versions.
    
    Refs: #2
    jenkin committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    44a8675 View commit details
    Browse the repository at this point in the history
  4. fix: update make ui and make editor utilities

    Swagger UI now loads the minified OpenAPI spec.
    
    Swagger Editor (latest version) doesn't support custom spec passed with envars or url parameters (see [swagger-editor/issues/4411](swagger-api/swagger-editor#4411)).
    
    Refs: #2
    jenkin committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    1899a72 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Configuration menu
    Copy the full SHA
    613e44d View commit details
    Browse the repository at this point in the history
  2. chore: update docs

    jenkin committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    a84ecf2 View commit details
    Browse the repository at this point in the history
  3. feat: clean geocodejson schema

    Move OSM specific attributes out of GeocodeJSON schema.
    
    Refs: #2
    jenkin committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    bc20470 View commit details
    Browse the repository at this point in the history
  4. chore: update docs

    jenkin committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    b6d8ef8 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. Configuration menu
    Copy the full SHA
    b4a0d78 View commit details
    Browse the repository at this point in the history
  2. fix: typo

    jenkin committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    0e6b40e View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Configuration menu
    Copy the full SHA
    f603c5c View commit details
    Browse the repository at this point in the history
  2. fix: change schema version to draft-07

    Aligned with geojson schema.
    jenkin committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    bb4cc0a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dcbe59e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    51d7d5b View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. chore: refactor makefile

    jenkin committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    5e36aa5 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. chore: move geocodejson schema outside repo

    Waiting for merge of [PR25](geocoders/geocodejson-spec#25).
    jenkin committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    52a8d2c View commit details
    Browse the repository at this point in the history
  2. chore: update docs

    jenkin committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    30c7bbf View commit details
    Browse the repository at this point in the history
  3. fix: update roadmap table

    jenkin committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    e170cd8 View commit details
    Browse the repository at this point in the history