-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
At the moment, our code processing Swagger/OpenAPI Spec does not support $ref references, we assume all entities have been denormalized/dereferenced. IMO, this is a severe limitation because even the simples CRUD-based REST APIs usually reuse model (response object) definitions.
We should investigate how to support $ref in all places allowed by OpenAPI spec. Let's limit the scope to relative references only (e.g. #/definitions/User) and exclude external references (e.g. http://json-schema.org/address).
Acceptance Criteria
- Establish agreement of the virtual OpenAPI Spec / $ref resolution
- What's the target OpenAPI Spec we're resolving against.
- Consistency between top-down and bottom-up approach
- Contributing Artifacts: Controller, Models, OpenAPI Spec, others?