I was looking at the OAS and can see where it lists the recommended file name as being openapi.json
but I have two questions:
There evidentially isn't a standard location to put it in but is there a de facto standard that people seem to follow? Like is the assumption that the most "normal" place to make it accessible under
/openapi.json
?Why is this left out of the spec and why is even just the document name only recommended instead of being required? Isn't part of the point of this to make it discoverable? Seems like relocating the OpenAPI document cuts against that by giving you something you just kind of have to know. Is there an advantage to leaving it out though?