Giter VIP home page Giter VIP logo

nominatim-openapi's People

Contributors

edodusi avatar jenkin avatar tegola avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

tegola

nominatim-openapi's Issues

Change default format from `jsonv2` to `geocodejson` for `/search` endpoint

Is your feature request related to a problem? Please describe.
Right now the official default format value for the /search endpoint is jsonv2 (see documentation) and the spec describes this response. But this discussion suggests that the best output format is geocodejson described by this spec.

Describe the solution you'd like
Change default format value of the OpenAPI spec to geocodejson and describe only this output in json schema. We should find or write the json schema for the geocodejson spec, but it is an extension of GeoJSON that already has an official json schema.

Describe alternatives you've considered
We can strictly follow the Nominatim documentation, but jsonv2 format has several well-known drawbacks and probably the next v2 of the api will drop it.

Additional context
Some useful resources:

Roadmap

Here I'm proposing final goals and a development roadmap for this project, discussion is open!

[Feature]: Add debug endpoints

Describe the solution you'd like

The official documentation describes also the /details, /deletable, and /polygons endpoints. We should add it to paths section and describe all accepted parameters.

Describe alternatives you've considered

These endpoints are for debug or maintenance purposes and we can ignore them.

Additional context

Some useful resources:

Code of Conduct

  • I agree to follow this project's Code of Conduct

Add an automatic tests suite

Describe the solution you'd like

Swagger Editor can check the specs for syntax issues or invalid openapi yaml, but we need to test also endpoints and json schemas.

Is your feature request related to a problem?

Yes, at this moment we can't test errors in endpoints or json schemas and this should be mandatory for the first stable release.

Describe alternatives you've considered

Handmade checks using the playground.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.