Skip to content

Commit

Permalink
Again
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcaya committed Jan 13, 2025
1 parent 0e8a222 commit 614ea93
Showing 1 changed file with 92 additions and 25 deletions.
117 changes: 92 additions & 25 deletions src/tests/expected-openapi-document.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# DO NOT EDIT. This is a generated file
openapi: 3.0.1
info:
title: Test API
Expand Down Expand Up @@ -25,31 +26,31 @@ paths:
operationId: GetExplicitOperationIdInName
responses:
'200':
description: Success
description: OK
/explicitOperationIdInSwagger:
get:
tags:
- OperationId
operationId: GetExplicitOperationIdInSwagger
responses:
'200':
description: Success
description: OK
/noOperationId:
get:
tags:
- OperationId
operationId: GetNotOperationId
responses:
'200':
description: Success
description: OK
/recordClassRequiredType:
get:
tags:
- RequiredType
operationId: GetRecordClassRequiredType
responses:
'200':
description: Success
description: OK
content:
application/json:
schema:
Expand All @@ -61,7 +62,7 @@ paths:
operationId: GetClassRequiredType
responses:
'200':
description: Success
description: OK
content:
application/json:
schema:
Expand All @@ -75,7 +76,6 @@ paths:
- name: id
in: path
required: true
style: simple
schema:
type: integer
format: int32
Expand Down Expand Up @@ -103,7 +103,6 @@ paths:
- name: id
in: query
required: true
style: form
schema:
type: integer
format: int32
Expand All @@ -130,7 +129,6 @@ paths:
parameters:
- name: id
in: query
style: form
schema:
type: integer
format: int32
Expand All @@ -149,13 +147,12 @@ paths:
parameters:
- name: id
in: query
style: form
schema:
type: integer
format: int32
responses:
'200':
description: Success
description: OK
content:
application/json:
schema:
Expand All @@ -180,7 +177,6 @@ paths:
parameters:
- name: id
in: query
style: form
schema:
type: integer
format: int32
Expand All @@ -207,7 +203,6 @@ paths:
parameters:
- name: id
in: query
style: form
schema:
type: integer
format: int32
Expand All @@ -230,7 +225,6 @@ paths:
parameters:
- name: id
in: query
style: form
schema:
type: integer
format: int32
Expand Down Expand Up @@ -261,7 +255,6 @@ paths:
parameters:
- name: id
in: query
style: form
schema:
type: integer
format: int32
Expand All @@ -284,7 +277,6 @@ paths:
parameters:
- name: id
in: query
style: form
schema:
type: integer
format: int32
Expand Down Expand Up @@ -315,7 +307,6 @@ paths:
parameters:
- name: id
in: query
style: form
schema:
type: integer
format: int32
Expand All @@ -332,13 +323,12 @@ paths:
parameters:
- name: id
in: query
style: form
schema:
type: integer
format: int32
responses:
'200':
description: Success
description: OK
/withSwaggerResponseAnnotation:
get:
tags:
Expand All @@ -359,7 +349,6 @@ paths:
parameters:
- name: id
in: query
style: form
schema:
type: integer
format: int32
Expand All @@ -382,7 +371,6 @@ paths:
parameters:
- name: id
in: query
style: form
schema:
type: integer
format: int32
Expand Down Expand Up @@ -413,7 +401,6 @@ paths:
parameters:
- name: id
in: query
style: form
schema:
type: integer
format: int32
Expand Down Expand Up @@ -444,13 +431,12 @@ paths:
parameters:
- name: id
in: query
style: form
schema:
type: integer
format: int32
responses:
'200':
description: Success
description: OK
'202':
description: Accepted
content:
Expand Down Expand Up @@ -481,17 +467,98 @@ paths:
application/json:
schema:
type: string
/useApplicationJsonContentType:
/useApplicationJsonContentTypeWithOk:
get:
tags:
- TypedResultNoProduces
- TypedResultProperContentType
operationId: OkNoContentType
responses:
'200':
description: OK
/useApplicationJsonContentTypeWithOk<T>:
get:
tags:
- TypedResultProperContentType
operationId: TemplatedOkNoContentType
responses:
'200':
description: OK
content:
application/json:
schema:
type: string
/useApplicationJsonContentTypeWithResultsType:
get:
tags:
- TypedResultProperContentType
operationId: ResultsNoContentType
responses:
'200':
description: OK
content:
application/json:
schema:
type: string
'400':
description: Bad Request
content:
text/plain:
schema:
type: string
'404':
description: Not Found
content:
text/plain:
schema:
type: string
/overwriteContenTypeWithProduceAttributeTextPlainForOk:
get:
tags:
- TypedResultProperContentType
operationId: OkContentTypeTextPlain
responses:
'200':
description: OK
content:
text/plain:
schema:
type: string
/overwriteContenTypeWithProduceAttributeTextPlainForOk<T>:
get:
tags:
- TypedResultProperContentType
operationId: TemplatedOkContentTypeTextPlain
responses:
'200':
description: OK
content:
text/plain:
schema:
type: string
/overwriteContenTypeWithProduceAttributeTextPlainForResultsType:
get:
tags:
- TypedResultProperContentType
operationId: ResultsContentTypeTextPlain
responses:
'200':
description: OK
content:
text/plain:
schema:
type: string
'400':
description: Bad Request
content:
text/plain:
schema:
type: string
'404':
description: Not Found
content:
text/plain:
schema:
type: string
components:
schemas:
OperationEnum:
Expand Down

0 comments on commit 614ea93

Please sign in to comment.