In the OpenAPI spec, they use "components" as the key for reusable assets
https://swagger.io/specification/#componentsObject
However, I notice in the petstore example, that you are using "definitions" which is not mentioned in the OpenAPI spec?
Additionally, instead of an OpenAPI spec version, your API uses Swagger:2.0.0
Is there a different API specification I should be using?