Skip to content

Commit

Permalink
Fix: removing nickname
Browse files Browse the repository at this point in the history
  • Loading branch information
mateus3009 committed Mar 20, 2024
1 parent 5779116 commit bdcbe63
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1133,12 +1133,6 @@ paths:
required: true
schema:
type: string
- name: customerNickname
in: query
description: Apelido do cliente
required: false
schema:
type: string
- name: customerDocument
in: query
description: Documento do cliente
Expand Down Expand Up @@ -1181,12 +1175,6 @@ paths:
summary: Retorna pedidos de cliente
operationId: getByCustomer
parameters:
- name: customerNickname
in: query
description: Apelido do cliente
required: false
schema:
type: string
- name: customerDocument
in: query
description: Documento do cliente
Expand Down Expand Up @@ -1814,18 +1802,9 @@ components:
example: 1
OrderRequest:
required:
- customerNickname
- items
type: object
properties:
customerNickname:
title: Apelido do cliente
type: string
example: Fulano
customerDocument:
title: Documento do cliente
type: string
example: 444.555.666-77
items:
minItems: 1
type: array
Expand All @@ -1834,7 +1813,6 @@ components:
description: Cadastro de pedido
Order:
required:
- customerNickname
- date
- items
- status
Expand All @@ -1847,8 +1825,6 @@ components:
date:
type: string
format: date
customerNickname:
type: string
customer:
$ref: "#/components/schemas/Customer"
status:
Expand Down

0 comments on commit bdcbe63

Please sign in to comment.