[Pulp-dev] OpenAPI v3 - Bindings
Fabricio Aguiar
fabricio.aguiar at redhat.com
Tue Jul 21 21:03:06 UTC 2020
We are moving from OpenAPI v2 to OpenAPI v3,
currently, we use drf-yasg [1] for generating our schemas, and we are
replacing it with drf-spectacular [2].
As bindings depend on the OpenAPI schema:
- plugin writers may need to change viewsets and some functional tests.
- users may experience some changes on the API e.g. lack of data keyword
[3]
Migrating from drf-yasg to def-spectacular:
- drf-spectacular provides some docs [4]
[1] https://github.com/axnsan12/drf-yasg
[2] https://github.com/tfranzel/drf-spectacular
[3] https://github.com/pulp/pulp_rpm/pull/1779#discussion_r458385482
[4] https://drf-spectacular.readthedocs.io/en/latest/drf_yasg.html
Pull Requests:
- pulpcore: https://github.com/pulp/pulpcore/pull/785
- pulp_file: https://github.com/pulp/pulp_file/pull/413
- pulp_ansible: https://github.com/pulp/pulp_ansible/pull/336
- pulp_rpm: https://github.com/pulp/pulp_rpm/pull/1779
- pulp_container: https://github.com/pulp/pulp_container/pull/128
Best regards,
Fabricio Aguiar
Software Engineer, Pulp Project
Red Hat Brazil - Latam <https://www.redhat.com/>
+55 11 999652368
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-dev/attachments/20200721/cf3a1ac4/attachment.htm>
More information about the Pulp-dev
mailing list