Skip to content

Commit

Permalink
fix using.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
aamalev committed Apr 28, 2017
1 parent ae940d1 commit ced038e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/using.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Create router
router = SwaggerRouter(
search_dirs=[base],
swagger_ui=True,
swagger_ui='/api/',
default_validate=True,
)
Expand Down Expand Up @@ -99,9 +99,9 @@ Swagger-ui
^^^^^^^^^^

If in spec1.yaml basePath specify as /api/1
then swagger-ui for spec1 located on `/api/1/apidoc/`.
If basePath in spec2 specify as /api/1 then on location `/api/1/apidoc/` will be mixed spec.
Otherwise swagger-ui located on `basePath`/apidoc/.
then swagger-ui for spec1 located on `/api/?spec=/api/1`.
If basePath in spec2 specify as /api/1 then on location `/api/?spec=/api/1` will be mixed spec.
Otherwise swagger-ui located on `basePath`/api/.


More `examples <https://github.com/aamalev/aiohttp_apiset/tree/master/examples>`_

0 comments on commit ced038e

Please sign in to comment.