Browse Source

fix version + doc

Guénaël Muller 6 years ago
parent
commit
696322b3c9
2 changed files with 3 additions and 3 deletions
  1. 3 2
      additionals_fields.md
  2. 0 1
      hapic/__init__.py

+ 3 - 2
additionals_fields.md View File

1
 ## Addtionals fields supported
1
 ## Addtionals fields supported
2
 
2
 
3
-Using marshmallow schema, you can add some extra field in field who are
4
-automatically added into field description in schema.
3
+Using marshmallow schema, you have the possibility to add extra information in
4
+field in order to add them into auto-generated apispec documentation.
5
+
5
 ```
6
 ```
6
         class MySchema(marshmallow.Schema):
7
         class MySchema(marshmallow.Schema):
7
             category = marshmallow.fields.String(
8
             category = marshmallow.fields.String(

+ 0 - 1
hapic/__init__.py View File

3
 from hapic.data import HapicData
3
 from hapic.data import HapicData
4
 from hapic.infos import __version__
4
 from hapic.infos import __version__
5
 
5
 
6
-__version__ = '0.41'
7
 _hapic_default = Hapic()
6
 _hapic_default = Hapic()
8
 
7
 
9
 with_api_doc = _hapic_default.with_api_doc
8
 with_api_doc = _hapic_default.with_api_doc