Skip to content

Commit

Permalink
docs: update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 13, 2023
1 parent 58f195b commit 4d38d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swagger.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"openapi":"3.0.0","paths":{"/version":{"get":{"operationId":"AppController_getVersion","summary":"getVersion","description":"Get the app version","parameters":[],"responses":{"200":{"description":"Return current version","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionRes"}}}},"400":{"content":{"application/json":{"example":{"error":{"message":"Unexpected Error","code":10003}}}},"description":""}},"tags":["System"]}},"/healthz":{"get":{"operationId":"AppController_healthz","summary":"healthz","description":"For metrics server health checking","parameters":[],"responses":{"200":{"description":"Return OK","content":{"application/json":{"example":{"data":"OK"}}}}},"tags":["System"]}}},"info":{"title":"nestjs-v10-webpack-boilerplate","description":"Boilerplate for NestJS v10 with Webpack, Pnpm, Fastify, Swagger, Pino Logger, Airbnb JavaScript Guide, Google JSON Style, ESLint, Prettier, Editorconfig, Husky, Lint-Staged, Commitlint, Axios, Docker, Alias Path, Error Handling and Clustering","version":"2.3.0","contact":{}},"tags":[],"servers":[{"url":"http://localhost:3000","description":"Localhost"}],"components":{"schemas":{"VersionRes":{"properties":{"data":{"type":"object","properties":{"version":{"type":"string","readOnly":true,"example":"v1.0.0"}},"required":["version"]}},"required":["data"],"type":"object"}}}}
{"openapi":"3.0.0","paths":{"/version":{"get":{"operationId":"AppController_getVersion","summary":"getVersion","description":"Get the app version","parameters":[],"responses":{"200":{"description":"Return current version","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionRes"}}}},"400":{"content":{"application/json":{"example":{"error":{"message":"Unexpected Error","code":10003}}}},"description":""}},"tags":["System"]}},"/healthz":{"get":{"operationId":"AppController_healthz","summary":"healthz","description":"For metrics server health checking","parameters":[],"responses":{"200":{"description":"Return OK","content":{"application/json":{"example":{"data":"OK"}}}}},"tags":["System"]}}},"info":{"title":"nestjs-v10-webpack-boilerplate","description":"Boilerplate for NestJS v10 with Webpack, Pnpm, Fastify, Swagger, Pino Logger, Airbnb JavaScript Guide, Google JSON Style, ESLint, Prettier, Editorconfig, Husky, Lint-Staged, Commitlint, Axios, Docker, Alias Path, Error Handling and Clustering","version":"2.3.1","contact":{}},"tags":[],"servers":[{"url":"http://localhost:3000","description":"Localhost"}],"components":{"schemas":{"VersionRes":{"properties":{"data":{"type":"object","properties":{"version":{"type":"string","readOnly":true,"example":"v1.0.0"}},"required":["version"]}},"required":["data"],"type":"object"}}}}

0 comments on commit 4d38d73

Please sign in to comment.