Closed
Description
openedon Oct 2, 2023
Description
If the specification contains an endpoint called models
( most notably OpenAI ).
Apparently, there are issues with things getting not generated or overwritten ...
Repro
A minimal repro looks like:
openapi: 3.0.0
info:
title: Test
version: 1.0.0
description: something
paths:
/api/something/v1:
post:
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/Test1"
responses:
"200":
description: "something"
content:
application/json: {}
/models:
post:
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/Test2"
responses:
"200":
description: "something"
content:
application/json: {}
components:
schemas:
Test1:
description: this is a first test
properties:
test:
description:
type: string
type: object
Test2:
description: this is a second test
properties:
test:
description:
type: integer
type: object
Resolution
I'm not sure what would need to be escaped properly. Let me know if you need a further narrowing down of the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Type
Projects
Status
Done ✔️