Skip to content

Commit

Permalink
docs: update url
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaDeNadai committed Sep 11, 2024
1 parent c590988 commit c3e7e4d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "ts-node-dev --poll ./src/server.ts",
"start": "npm run docs && npm run build && node dist/server.js",
"build": "rimraf ./dist && tsc",
"build": "npm run docs && rimraf ./dist && tsc",
"test": "jest",
"docs": "ts-node ./swagger.ts",
"cov": "jest --coverage",
Expand Down
8 changes: 6 additions & 2 deletions swagger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ const doc = {
},
servers: [
{
url: 'http://localhost:3000',
description: ''
url: 'https://trmbsykipiai4zg4plt4stqqf40igqlx.lambda-url.sa-east-1.on.aws',
description: 'Production'
},
{
url: 'http://localhost:3000',
description: 'local'
}
],
components: {
securitySchemes: {
Expand Down
8 changes: 6 additions & 2 deletions swagger_output.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@
"description": ""
},
"servers": [
{
"url": "https://trmbsykipiai4zg4plt4stqqf40igqlx.lambda-url.sa-east-1.on.aws",
"description": "Production"
},
{
"url": "http://localhost:3000",
"description": ""
"description": "local"
}
],
"paths": {
Expand Down Expand Up @@ -50,7 +54,7 @@
"schema": {
"type": "object",
"properties": {
"cpf_cpnj": {
"cpf_cnpj": {
"example": "any"
},
"producerName": {
Expand Down

0 comments on commit c3e7e4d

Please sign in to comment.