support for version argument on generateschema command #8551
-
Hi everyone, As it is now, generateschema command does not support I do not know whether this is intentional or not, however if it is not, I would be more than happy to try and add it. EDIT: Current: openapi: 3.0.2
info:
title: My API
version: ''
description: My API Documentation
paths:
... Expected: openapi: 3.0.2
info:
title: My API
version: 1.0.0
description: My API Documentation
paths:
... I am running the following command to generate the yaml file: python manage.py generateschema \
--title "My API" \
--description "My API Documentation" \
--format openapi \
--file path/to/static/openapi-schema.yml including |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
What is the end result you are looking for here? |
Beta Was this translation helpful? Give feedback.
#8663