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
6 changes: 2 additions & 4 deletions examples/tests/mapfields/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
type: string
GoogleProtobufAny:
Expand Down Expand Up @@ -91,8 +90,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
type: string
Status:
Expand Down
6 changes: 2 additions & 4 deletions examples/tests/mapfields/openapi_default_response.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
type: string
GoogleProtobufAny:
Expand Down Expand Up @@ -91,8 +90,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
type: string
Status:
Expand Down
6 changes: 2 additions & 4 deletions examples/tests/mapfields/openapi_fq_schema_naming.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
type: string
tests.mapfields.message.v1.Message:
Expand Down Expand Up @@ -107,8 +106,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
type: string
tags:
Expand Down
6 changes: 2 additions & 4 deletions examples/tests/mapfields/openapi_json.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
type: string
GoogleProtobufAny:
Expand Down Expand Up @@ -91,8 +90,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
type: string
Status:
Expand Down
6 changes: 2 additions & 4 deletions examples/tests/mapfields/openapi_string_enum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
type: string
GoogleProtobufAny:
Expand Down Expand Up @@ -91,8 +90,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
type: string
Status:
Expand Down
3 changes: 1 addition & 2 deletions examples/tests/noannotations/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
type: string
Status:
Expand Down
3 changes: 1 addition & 2 deletions examples/tests/noannotations/openapi_default_response.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
type: string
Status:
Expand Down
3 changes: 1 addition & 2 deletions examples/tests/noannotations/openapi_fq_schema_naming.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
type: string
tags:
Expand Down
3 changes: 1 addition & 2 deletions examples/tests/noannotations/openapi_json.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
type: string
Status:
Expand Down
3 changes: 1 addition & 2 deletions examples/tests/noannotations/openapi_string_enum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
type: string
Status:
Expand Down
3 changes: 1 addition & 2 deletions examples/tests/openapiv3annotations/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
title: this is an overriden field schema title
maxLength: 255
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
title: this is an overriden field schema title
maxLength: 255
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
title: this is an overriden field schema title
maxLength: 255
Expand Down
3 changes: 1 addition & 2 deletions examples/tests/openapiv3annotations/openapi_json.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
title: this is an overriden field schema title
maxLength: 255
Expand Down
3 changes: 1 addition & 2 deletions examples/tests/openapiv3annotations/openapi_string_enum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ components:
type: object
properties:
id:
type: integer
format: int64
type: string
label:
title: this is an overriden field schema title
maxLength: 255
Expand Down
9 changes: 3 additions & 6 deletions examples/tests/pathparams/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ paths:
- name: user_id
in: query
schema:
type: integer
format: uint64
type: string
responses:
"200":
description: OK
Expand Down Expand Up @@ -74,8 +73,7 @@ paths:
in: path
required: true
schema:
type: integer
format: uint64
type: string
- name: message_id
in: path
required: true
Expand Down Expand Up @@ -110,8 +108,7 @@ components:
message_id:
type: string
user_id:
type: integer
format: uint64
type: string
content:
type: string
maybe:
Expand Down
9 changes: 3 additions & 6 deletions examples/tests/pathparams/openapi_default_response.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ paths:
- name: userId
in: query
schema:
type: integer
format: uint64
type: string
responses:
"200":
description: OK
Expand Down Expand Up @@ -74,8 +73,7 @@ paths:
in: path
required: true
schema:
type: integer
format: uint64
type: string
- name: messageId
in: path
required: true
Expand Down Expand Up @@ -110,8 +108,7 @@ components:
messageId:
type: string
userId:
type: integer
format: uint64
type: string
content:
type: string
maybe:
Expand Down
9 changes: 3 additions & 6 deletions examples/tests/pathparams/openapi_fq_schema_naming.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ paths:
- name: userId
in: query
schema:
type: integer
format: uint64
type: string
responses:
"200":
description: OK
Expand Down Expand Up @@ -74,8 +73,7 @@ paths:
in: path
required: true
schema:
type: integer
format: uint64
type: string
- name: messageId
in: path
required: true
Expand Down Expand Up @@ -126,8 +124,7 @@ components:
messageId:
type: string
userId:
type: integer
format: uint64
type: string
content:
type: string
maybe:
Expand Down
9 changes: 3 additions & 6 deletions examples/tests/pathparams/openapi_json.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ paths:
- name: userId
in: query
schema:
type: integer
format: uint64
type: string
responses:
"200":
description: OK
Expand Down Expand Up @@ -74,8 +73,7 @@ paths:
in: path
required: true
schema:
type: integer
format: uint64
type: string
- name: messageId
in: path
required: true
Expand Down Expand Up @@ -110,8 +108,7 @@ components:
messageId:
type: string
userId:
type: integer
format: uint64
type: string
content:
type: string
maybe:
Expand Down
9 changes: 3 additions & 6 deletions examples/tests/pathparams/openapi_string_enum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ paths:
- name: userId
in: query
schema:
type: integer
format: uint64
type: string
responses:
"200":
description: OK
Expand Down Expand Up @@ -74,8 +73,7 @@ paths:
in: path
required: true
schema:
type: integer
format: uint64
type: string
- name: messageId
in: path
required: true
Expand Down Expand Up @@ -110,8 +108,7 @@ components:
messageId:
type: string
userId:
type: integer
format: uint64
type: string
content:
type: string
maybe:
Expand Down
12 changes: 4 additions & 8 deletions examples/tests/protobuftypes/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,11 @@ paths:
- name: int64_value_type
in: query
schema:
type: integer
format: int64
type: string
- name: uint64_value_type
in: query
schema:
type: integer
format: uint64
type: string
- name: float_value_type
in: query
schema:
Expand Down Expand Up @@ -291,13 +289,11 @@ paths:
- name: int64_value_type
in: query
schema:
type: integer
format: int64
type: string
- name: uint64_value_type
in: query
schema:
type: integer
format: uint64
type: string
- name: float_value_type
in: query
schema:
Expand Down
Loading