Skip to content

Tool that simplifies the OpenPI schema to a simpler subset.

License

Notifications You must be signed in to change notification settings

jshmrtn/openapi-simplifier

Repository files navigation

OpenAPI Simplifier

.github/workflows/branch_main.yml NPM License Last Updated

Little tools that simplifies the OpenPI schema to a simpler subset.

Implemented Simplifications

  • Get rid of readOnly & writeOnly

Execution

# Read Schema from STDIN and write to STDOUT
cat schema.yml | ./node_modules/openapi-simplifier -

# Read Schema from file and write to file
./node_modules/openapi-simplifier schema.yml --output simplified.yml