Skip to content

Commit

Permalink
Merge d030866 into 1fe65dd
Browse files Browse the repository at this point in the history
  • Loading branch information
james-powis committed Mar 11, 2020
2 parents 1fe65dd + d030866 commit a0d78d9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/scaling.rst
Expand Up @@ -214,6 +214,20 @@ Given the previous layout, we can migrate it to the following directory structur
├── ...
└── namespaceX.py

Each `apis/namespaceX` wmodule will have the following pattern:

.. code-block:: python
from flask_restplus import Namespace
api = Namespace('mynamespace', 'Namespace Description' )
@api.route("/")
class Myclass(Resource):
def get(self):
return {}
Each `apivX` module will have the following pattern:

.. code-block:: python
Expand Down

0 comments on commit a0d78d9

Please sign in to comment.