Skip to content

config.schema.json: enhance required generator fields.#492

Merged
kay-schecker merged 3 commits intoOpenAPITools:masterfrom
KonstantinLukaschenko:master
Apr 15, 2022
Merged

config.schema.json: enhance required generator fields.#492
kay-schecker merged 3 commits intoOpenAPITools:masterfrom
KonstantinLukaschenko:master

Conversation

@KonstantinLukaschenko
Copy link
Copy Markdown
Contributor

This PR adjusts the required generator fields in config.schema.json.

Prior to this change, the schema required the definition of a glob pattern in the glob field of the openapitools.json.
Since the glob pattern only matches local files, it's not possible to provide an URL pointing to the API definition in this field.

An URL has to be defined in the inputSpec field instead.

With this change the schema requires either a glob or an inputSpec, which corresponds to the current implementation.

@KonstantinLukaschenko
Copy link
Copy Markdown
Contributor Author

Related to #457.

@then3rdman
Copy link
Copy Markdown

Wondering what the status of this. Seems to have stalled but not sure why?

@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants