My system consists of multiple services that generate their own OpenAPI specifications. For one endpoint in my Django service I want the input schema to be of a type that is specified at another service, is there somehow a way to retrieve/import/reference to a type that is part of another service?
(Currently just using the schemas from DRF but thinking of using drf-spectacular)
In the end I want the services to dynamically generate full OpenAPI specs (and sometimes those can be based on each other)
from Django Rest Framework import OpenAPI spec from other service to generate Schema
No comments:
Post a Comment