question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OpenAPI or swagger.json auto discovery

See original GitHub issue

Is there any spec or convention on URL where one should place swagger.json (or whatever name it is agreed) so that public API of my site can be automatically discovered?

http://stackoverflow.com/questions/41660658/openapi-or-swagger-json-auto-discovery

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
techtonikcommented, Apr 15, 2017

@fehguy it is still doesn’t specify how to discover exact location of that file. It doesn’t mention if it should be located at server root or somewhere else.

0reactions
techtonikcommented, Apr 15, 2017

I remember seeing some specification that used HTTP header to point to API location URL, but I can’t find it anymore. It was from w3c and guys from Google, but I am not sure.

Read more comments on GitHub >

github_iconTop Results From Across the Web

api - OpenAPI or swagger.json auto discovery - Stack Overflow
json . Original answer: The OpenAPI Wiki recommends using an /api-docs endpoint, at least for server APIs. I've seen ...
Read more >
API Documentation Made Easy with OpenAPI & Swagger
Swagger Inspector is an easy to use developer tool to quickly execute any API request, validate its responses and generate a corresponding OpenAPI...
Read more >
Automatic discovery of Web API Specifications: an example ...
The discovery process takes as input a set of API call examples and incrementally generates an OpenAPI model conforming to our OpenAPI metamodel ......
Read more >
Gathering My Thoughts on API Discovery | API Evangelist
OpenAPI (Swagger ) - OpenAPI provides an artifact that is discoverable and is organized by a variety of marketplaces, directories, and hubs to ......
Read more >
ReadMe: OpenAPI and Swagger for API Documentation
When you write your OpenAPI or Swagger docs, you can choose from either of two formats: JSON or YAML. Both will use the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found