Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
refactor: switch to @scalar/openapi-parser (#44)
Browse files Browse the repository at this point in the history
* chore: use @scalar/openapi-parser for validation

* refactor: use @scalar/openapi-parser for the mock command

* refactor: use @scalar/openapi-parser everywhere

* chore: prettier

* fix: tests
  • Loading branch information
hanspagel committed Feb 27, 2024
1 parent d9f4a84 commit a0bfd65
Show file tree
Hide file tree
Showing 17 changed files with 396 additions and 7,441 deletions.
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@parcel/watcher": "^2.4.1",
"@scalar/api-reference": "^1.17.4",
"@scalar/mock-server": "workspace:*",
"@seriousme/openapi-schema-validator": "^2.2.1",
"@scalar/openapi-parser": "^0.2.0",
"commander": "^12.0.0",
"hono": "^4.0.7",
"kleur": "^4.1.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/petstore.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"tags": ["pet"],
"summary": "Finds Peats by status",
"description": "Multiplae status values cana be provided with comma separated strings",
"operationId": "findPetsBySatatus",
"operationId": "findPetsByStatus",
"parameters": [
{
"name": "status",
Expand Down
Loading

0 comments on commit a0bfd65

Please sign in to comment.