encode / apistar

The Web API toolkit. 🛠
https://docs.apistar.com
BSD 3-Clause "New" or "Revised" License
5.57k stars 411 forks source link

Handle deprecated links and parameters #664

Open Lucidiot opened 4 years ago

Lucidiot commented 4 years ago

Both OpenAPI 2/Swagger and OpenAPI 3 offer a deprecated boolean attribute on operation objects, parameter objects and schema objects: APIStar could raise a warning when calling a deprecated endpoint, using a deprecated parameter or schema, or at least make the attributes available to the user in the Link and Field classes.