Skip to content

Commit

Permalink
restructure docs toc
Browse files Browse the repository at this point in the history
  • Loading branch information
Rollmops committed Mar 26, 2020
1 parent 416a8f7 commit 823513f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
27 changes: 16 additions & 11 deletions docs/quickstart.rst → docs/getting-started.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Quickstart
**********
Getting Started
***************

A Minimal Application
=====================
Expand Down Expand Up @@ -55,11 +55,13 @@ documentation.
Since we did not yet provide any information about our API we do not see too much in the *OpenApi* documentation yet.


More OpenApi Documentation Details
----------------------------------
Describe your REST API
======================

Request Details
^^^^^^^^^^^^^^^
The following decorators

Request Description
-------------------

A description for the request method is always a good starting point and so we are adding a simple doc string to our
``get`` method:
Expand Down Expand Up @@ -87,7 +89,7 @@ The first line will always be treated as the *summary* and the following lines a


Path Parameters
"""""""""""""""
---------------

Imagine you want to add a resource with a parameter in the *URL* - a so called *path parameter*. So for instance, we
want to serve the *URL* ``/users/:id``:
Expand Down Expand Up @@ -129,7 +131,7 @@ if the incoming path parameter can not be deserialized (in our example, because
Query Parameters
""""""""""""""""
----------------

So now imagine we want to add a query parameter that controls whether to send the address information or not. Lets call
it ``address_info``:
Expand Down Expand Up @@ -158,15 +160,18 @@ An example *URL* can be:


Request Body
""""""""""""
------------




Response Details
^^^^^^^^^^^^^^^^
----------------


Exception Mapping
-----------------
=================

Hyperlink Generation
====================

2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Python HTTP REST library including OOP-readiness and Open-API generation
:maxdepth: 4

installation
quickstart
getting-started

api

Expand Down

0 comments on commit 823513f

Please sign in to comment.