Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .spectral.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ rules:
message: "Use $ref for request body schema instead of inline definition. See openapi/README.md#avoid-inline-schemas-in-request-and-response-definitions"
severity: error
resolved: false
given: "$.paths[*][get,post,put,patch,delete].requestBody.content[application/json].schema"
given: "$.paths[*][get,post,put,patch,delete].requestBody.content.*.schema"
then:
field: "$ref"
function: truthy
Expand All @@ -92,7 +92,7 @@ rules:
message: "Use $ref for response schema instead of inline definition. See openapi/README.md#avoid-inline-schemas-in-request-and-response-definitions"
severity: error
resolved: false
given: "$.paths[*][get,post,put,patch,delete].responses[*].content[application/json].schema"
given: "$.paths[*][get,post,put,patch,delete].responses[*].content.*.schema"
then:
field: "$ref"
function: truthy
Expand Down
18 changes: 10 additions & 8 deletions mintlify/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 10 additions & 8 deletions openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
type: object
required:
- file
properties:
file:
type: string
format: binary
description: CSV file containing customer information
9 changes: 1 addition & 8 deletions openapi/paths/customers/customers_bulk_csv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,7 @@ post:
content:
multipart/form-data:
schema:
type: object
required:
- file
properties:
file:
type: string
format: binary
description: CSV file containing customer information
$ref: ../../components/schemas/customers/BulkCustomerImportRequest.yaml
responses:
'202':
description: CSV upload accepted for processing
Expand Down
Loading