DEV Community

Discussion on: Defining reusable components with the OpenAPI specification

Collapse
 
mikeralphson profile image
Mike Ralphson

The presence of paths: {} isn't intended to overload the meaning, it's because paths is a mandatory object in the OAS (2.0 and 3.0.x), although it can be empty.

x-fragment is a good idea to make that explicit.