Skip to content

Commit

Permalink
[destructive] error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
fa0311 committed Nov 6, 2024
1 parent 28b4dbc commit db793e6
Show file tree
Hide file tree
Showing 16 changed files with 380 additions and 7,115 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"yaml.validate": true,
"yaml.hover": true,
"yaml.schemas": {
"https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.0/schema.json": "src/**/*.yaml"
"https://raw.githubusercontent.com/OAI/OpenAPI-Specification/refs/heads/main/schemas/v3.0/schema.yaml": "src/**/*.yaml"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ openapi-generator-cli generate -g <language> -i https://raw.githubusercontent.co

There are several outputs, but the one that most closely follows the OpenAPI specification is `dist/docs`.
However, a lot of syntax that is not supported by some generators is used.
Therefore, it is recommended to use `dist/compatible` or `dist/compatible_discriminator`.

You can also modify the hook to make the generated results more user-friendly. [build_config.py](./tools/build_config.py)
You can also modify the hook to make the generated results more user-friendly. [build_config.py](./tools/build_config.py)

Note that the license also inherits to the output.

Expand Down
Loading

0 comments on commit db793e6

Please sign in to comment.