You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user should pick one document syntax for OpenAPI files in the project.
This can be YAML or JSON
The wizard provide the user with only these two options to choose from.
Requires an answer
Default value: JSON
Root Document Filename
The root document filename (default: openapi)
Wizard should ignore any known file extensions. e.g. if the user enters my-api.json, don't include the .json file extension in the output value from this step. It should however include dot portions. e.g. company.account.api would pass the value forward unaltered.
If the user has selected a document syntax AND has entered a file extension into this field AND they do not match, show an appropriate error message and don't let them proceed.
Filenames must be valid on both windows & unix based systems (you may want to use something like valid-filename to check this
Given the user has chosen valid selection for the above steps
Then a file should be created in the following relative directory: ./spec/${rootDocumentFilename}.${projectDocumentSyntax.extension}
The text was updated successfully, but these errors were encountered:
Let the user choose:
openapi
)my-api.json
, don't include the.json
file extension in the output value from this step. It should however include dot portions. e.g.company.account.api
would pass the value forward unaltered.Given the user has chosen valid selection for the above steps
Then a file should be created in the following relative directory:
./spec/${rootDocumentFilename}.${projectDocumentSyntax.extension}
The text was updated successfully, but these errors were encountered: