openapi #3241
-
I'm currently trying to document my API, but I'm struggling to figure out how exactly the openapi section in 'app.json' is being used. I do comprehend the schema/notation that needs to be followed, however I'm unable to grasp how it integrates with swagger and how I can access the generated openapi document? Could I please get some elaboration on how it needs to be exercised? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There's an automatically generated endpoint For instance with the
Whereas in
(Hope this is still readable despite all the Note that these OpenAPI documents describe everything under |
Beta Was this translation helpful? Give feedback.
There's an automatically generated endpoint
/app/api
, which returns an OpenAPI description of every endpoint under/app
, and inserts the OpenAPI elements fromapp.json
in the relevant place.For instance with the
tests/js-authentication
app, which has emptyopenapi
objects in itsapp.json
, this endpoint just reports the HTTP methods available on each path but has no more information: