Skip to content

Commit cf908c1

Browse files
drodilstephenfin
authored andcommitted
Add documentation for fetching remote specs
1 parent d526545 commit cf908c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/index.rst

+5
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ and it will be rendered into something like:
3535

3636
.. openapi:: specs/openapi.yml
3737

38+
You can also use URLs where to fetch the OpenAPI spec from:
39+
40+
.. code:: restructuredtext
41+
42+
.. openapi:: https://petstore.swagger.io/v2/swagger.json
3843
3944
Options
4045
=======

0 commit comments

Comments
 (0)