-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(lint): Switch to json config for
swagger-combine
(#509)
* Removed temporarily as it's unfinished * fix(swagger): Switched swagger-combine config to json * Added override * Renamed to match spectral * Switched to codebase-wide temporarily * Switched namings * Switched to warn * Merge state
- Loading branch information
1 parent
8a088b2
commit 6207dde
Showing
4 changed files
with
56 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
|
||
########################## | ||
########################## | ||
## OpenAPI Linter rules ## | ||
########################## | ||
########################## | ||
|
||
extends: spectral:oas | ||
rules: | ||
oas2-schema: warn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "cheqd Network - REST and gRPC Gateway Documentation", | ||
"description": "Documentation describing REST and gRPC Gateway endpoints for cheqd network.", | ||
"version": "v1.x", | ||
"contact": { | ||
"name": "Cheqd Foundation Limited", | ||
"url": "https://cheqd.io" | ||
}, | ||
"license": { | ||
"name": "Apache 2.0", | ||
"url": "https://github.com/cheqd/cheqd-node/blob/main/LICENSE" | ||
} | ||
}, | ||
"paths": {}, | ||
"apis": [ | ||
{ | ||
"url": "./api/docs/cheqd/did/v2/query.swagger.json" | ||
}, | ||
{ | ||
"url": "./api/docs/cheqd/resource/v2/query.swagger.json" | ||
} | ||
], | ||
"basePath": "/swagger/", | ||
"schemes": [ | ||
"http", | ||
"https" | ||
], | ||
"consumes": [ | ||
"application/json", | ||
"application/json+ld", | ||
"*/*" | ||
], | ||
"produces": [ | ||
"application/json", | ||
"application/json+ld", | ||
"*/*" | ||
], | ||
"externalDocs": { | ||
"description": "cheqd Network Documentation", | ||
"url": "https://docs.cheqd.io/node" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters