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
Rather than requiring users to pass in a blob via an Actions input (i.e., **/*.{json,yaml,yml}, the default behavior should be to:
Find every OpenAPI/Swagger file in their repo without that parameter
Allow the user to optionally pass in a glob that confines what directories the Action searches, if needed
Additionally, it'd be nice if the code also accepted README_MICRO_KEY as an environmental variable, which should eliminate the need for the --key CLI argument in Bitbucket Pipelines and perhaps other environments.
What we do in rdme
We automatically search for JSON and YAML files in non-git-ignored directories here:
And then using oas-normalize, we iterate through every discovered JSON/YAML file and filter for files that match the properties of a OpenAPI, Swagger, or Postman definition:
In terms of how we process the API key, we allow the user to pass it in as a CLI arg, environmental variable, or via a configuration file (in that order of precedence). We document that behavior here:
No description provided.
The text was updated successfully, but these errors were encountered: