After a openapi read ./foo.json -f json -D > bar.json, parameters, schemas, requestBodies, responses and examples are still present in components. They are useless, since they have been dereferenced.
I dereferenced a 1500 lines file, and it gave me 9700 lines. After removing useless components, I went back to 4000 lines (which is a lot better).
After a
openapi read ./foo.json -f json -D > bar.json
,parameters
,schemas
,requestBodies
,responses
andexamples
are still present incomponents
. They are useless, since they have been dereferenced.I dereferenced a 1500 lines file, and it gave me 9700 lines. After removing useless components, I went back to 4000 lines (which is a lot better).