Skip to content

Commit

Permalink
Fix: removing admin token
Browse files Browse the repository at this point in the history
  • Loading branch information
mateus3009 committed Mar 20, 2024
1 parent 2d4b614 commit 5779116
Showing 1 changed file with 0 additions and 89 deletions.
89 changes: 0 additions & 89 deletions openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,6 @@ paths:
summary: Retorna produto pelo número
operationId: getByProductNumber
parameters:
- name: x-admin-token
in: header
required: true
schema:
type: string
default: token
- name: productNumber
in: path
description: Número do produto
Expand Down Expand Up @@ -273,12 +267,6 @@ paths:
summary: Atualiza produto
operationId: update_1
parameters:
- name: x-admin-token
in: header
required: true
schema:
type: string
default: token
- name: productNumber
in: path
description: Número do produto
Expand Down Expand Up @@ -329,12 +317,6 @@ paths:
summary: Remove produto
operationId: delete
parameters:
- name: x-admin-token
in: header
required: true
schema:
type: string
default: token
- name: productNumber
in: path
description: Número do produto
Expand Down Expand Up @@ -733,12 +715,6 @@ paths:
summary: Acrescenta quantidade do componente em estoque
operationId: increment
parameters:
- name: x-admin-token
in: header
required: true
schema:
type: string
default: token
- name: componentNumber
in: path
description: Número do item em estoque
Expand Down Expand Up @@ -790,12 +766,6 @@ paths:
summary: Reduz quantidade do componente em estoque
operationId: decrement
parameters:
- name: x-admin-token
in: header
required: true
schema:
type: string
default: token
- name: componentNumber
in: path
description: Número do componente
Expand Down Expand Up @@ -846,13 +816,6 @@ paths:
- produto
summary: Retorna todos os produtos
operationId: findAll_4
parameters:
- name: x-admin-token
in: header
required: true
schema:
type: string
default: token
responses:
"200":
description: Operação bem-sucedida
Expand All @@ -879,13 +842,6 @@ paths:
- produto
summary: Cadastra produto
operationId: create_2
parameters:
- name: x-admin-token
in: header
required: true
schema:
type: string
default: token
requestBody:
content:
application/json:
Expand Down Expand Up @@ -923,13 +879,6 @@ paths:
- produto
summary: Atribui subitems ao produto
operationId: compose
parameters:
- name: x-admin-token
in: header
required: true
schema:
type: string
default: token
requestBody:
content:
application/json:
Expand Down Expand Up @@ -967,13 +916,6 @@ paths:
- composição
summary: Retorna todos os componentes
operationId: findAll_5
parameters:
- name: x-admin-token
in: header
required: true
schema:
type: string
default: token
responses:
"200":
description: Operação bem-sucedida
Expand All @@ -1000,13 +942,6 @@ paths:
- composição
summary: Cadastra componente
operationId: create_3
parameters:
- name: x-admin-token
in: header
required: true
schema:
type: string
default: token
requestBody:
content:
application/json:
Expand Down Expand Up @@ -1417,12 +1352,6 @@ paths:
summary: Pesquisa produto por nome
operationId: searchByName_2
parameters:
- name: x-admin-token
in: header
required: true
schema:
type: string
default: token
- name: name
in: query
description: Nome do produto
Expand Down Expand Up @@ -1457,12 +1386,6 @@ paths:
summary: Retorna produtos por categoria
operationId: findByCategory_1
parameters:
- name: x-admin-token
in: header
required: true
schema:
type: string
default: token
- name: category
in: path
description: Categoria
Expand Down Expand Up @@ -1505,12 +1428,6 @@ paths:
summary: Retorna componentes do produto
operationId: findByProductNumber
parameters:
- name: x-admin-token
in: header
required: true
schema:
type: string
default: token
- name: productNumber
in: path
description: Número do produto
Expand Down Expand Up @@ -1554,12 +1471,6 @@ paths:
summary: Pesquisa componente por nome
operationId: searchByName_3
parameters:
- name: x-admin-token
in: header
required: true
schema:
type: string
default: token
- name: name
in: query
description: Nome do componente
Expand Down

0 comments on commit 5779116

Please sign in to comment.