-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
needs-reproductionThis issue needs more information in order to be investigatedThis issue needs more information in order to be investigated
Description
Describe the bug
When trying to navigate to most of my generated swagger, it fails on the 3rd generated endpoint on the build.

This is both when trying to navigate to some pages on the working app, or by just running npm run build
Below is the snippet of Swagger's OpenAPI 3.0.1 fo rthe last seen endpoint that I believe is what broke it, and the next endpoint.
"/api/v1/chatbot/profiles/{profileId}/providers/{providerDescription}/bookings/{bookingNumber}": {
"get": {
"tags": [
"ChatBotProfileProviderBookings"
],
"summary": "Retrieves a booking for a provider using Booking Number",
"operationId": "GetChatbotProfileProviderBookingNumber",
"parameters": [
{
"name": "profileId",
"in": "path",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "providerDescription",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "bookingNumber",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Booking"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Booking"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Booking"
}
}
}
}
}
}
},
"/api/v1/defaultTemperatureRanges": {
"get": {
"tags": [
"DefaultTemperatureRanges"
],
"summary": "Retrieves a list of JAS temperature ranges used when transporting goods",
"operationId": "GetDefaultTemperatureRanges",
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DefaultTemperatureRange"
}
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DefaultTemperatureRange"
}
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DefaultTemperatureRange"
}
}
}
}
}
}
}
}To Reproduce
- Generate open api with these two open API endpoints
- Run
npm run build - Wait and it'll fail
Expected behavior
It should build and not freeze the webpage or terminal build
How often does this bug happen?
Every time
System Info
No response
Additional Context
This is for a dotnet 5 API using OpenApi 3.0.1 with Microsoft's built-in swagger support
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs-reproductionThis issue needs more information in order to be investigatedThis issue needs more information in order to be investigated