-
-
Notifications
You must be signed in to change notification settings - Fork 561
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v3' into dependabot/go_modules/github.com/gorilla/webso…
…cket-1.5.1
- Loading branch information
Showing
5 changed files
with
155 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
http/codegen/openapi/v2/testdata/TestSections/typename_file0.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"swagger":"2.0","info":{"title":"","version":""},"host":"goa.design","consumes":["application/json","application/xml","application/gob"],"produces":["application/json","application/xml","application/gob"],"paths":{"/bar":{"post":{"tags":["testService"],"summary":"bar testService","operationId":"testService#bar","parameters":[{"name":"BarRequestBody","in":"body","required":true,"schema":{"$ref":"#/definitions/BarPayload"}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/BarResult"}}},"schemes":["https"]}},"/baz":{"post":{"tags":["testService"],"summary":"baz testService","operationId":"testService#baz","parameters":[{"name":"BazRequestBody","in":"body","required":true,"schema":{"$ref":"#/definitions/BazPayload"}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/BazResult"}}},"schemes":["https"]}},"/foo":{"post":{"tags":["testService"],"summary":"foo testService","operationId":"testService#foo","parameters":[{"name":"FooRequestBody","in":"body","required":true,"schema":{"$ref":"#/definitions/FooPayload"}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/FooResult"}}},"schemes":["https"]}}},"definitions":{"BarPayload":{"title":"BarPayload","type":"object","properties":{"value":{"type":"string","example":""}},"example":{"value":""}},"BarResult":{"title":"Mediatype identifier: application/vnd.goa.example.bar; view=default","type":"object","properties":{"value":{"type":"string","example":""}},"description":"BarResponseBody result type (default view)","example":{"value":""}},"BazPayload":{"title":"BazPayload","type":"object","properties":{"value":{"type":"string","example":""}},"example":{"value":""}},"BazResult":{"title":"BazResult","type":"object","properties":{"value":{"type":"string","example":""}},"example":{"value":""}},"FooPayload":{"title":"FooPayload","type":"object","properties":{"value":{"type":"string","example":""}},"example":{"value":""}},"FooResult":{"title":"Mediatype identifier: application/vnd.goa.example.bar; view=default","type":"object","properties":{"value":{"type":"string","example":""}},"description":"FooResponseBody result type (default view)","example":{"value":""}}}} |
128 changes: 128 additions & 0 deletions
128
http/codegen/openapi/v2/testdata/TestSections/typename_file1.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
swagger: "2.0" | ||
info: | ||
title: "" | ||
version: "" | ||
host: goa.design | ||
consumes: | ||
- application/json | ||
- application/xml | ||
- application/gob | ||
produces: | ||
- application/json | ||
- application/xml | ||
- application/gob | ||
paths: | ||
/bar: | ||
post: | ||
tags: | ||
- testService | ||
summary: bar testService | ||
operationId: testService#bar | ||
parameters: | ||
- name: BarRequestBody | ||
in: body | ||
required: true | ||
schema: | ||
$ref: '#/definitions/BarPayload' | ||
responses: | ||
"200": | ||
description: OK response. | ||
schema: | ||
$ref: '#/definitions/BarResult' | ||
schemes: | ||
- https | ||
/baz: | ||
post: | ||
tags: | ||
- testService | ||
summary: baz testService | ||
operationId: testService#baz | ||
parameters: | ||
- name: BazRequestBody | ||
in: body | ||
required: true | ||
schema: | ||
$ref: '#/definitions/BazPayload' | ||
responses: | ||
"200": | ||
description: OK response. | ||
schema: | ||
$ref: '#/definitions/BazResult' | ||
schemes: | ||
- https | ||
/foo: | ||
post: | ||
tags: | ||
- testService | ||
summary: foo testService | ||
operationId: testService#foo | ||
parameters: | ||
- name: FooRequestBody | ||
in: body | ||
required: true | ||
schema: | ||
$ref: '#/definitions/FooPayload' | ||
responses: | ||
"200": | ||
description: OK response. | ||
schema: | ||
$ref: '#/definitions/FooResult' | ||
schemes: | ||
- https | ||
definitions: | ||
BarPayload: | ||
title: BarPayload | ||
type: object | ||
properties: | ||
value: | ||
type: string | ||
example: "" | ||
example: | ||
value: "" | ||
BarResult: | ||
title: 'Mediatype identifier: application/vnd.goa.example.bar; view=default' | ||
type: object | ||
properties: | ||
value: | ||
type: string | ||
example: "" | ||
description: BarResponseBody result type (default view) | ||
example: | ||
value: "" | ||
BazPayload: | ||
title: BazPayload | ||
type: object | ||
properties: | ||
value: | ||
type: string | ||
example: "" | ||
example: | ||
value: "" | ||
BazResult: | ||
title: BazResult | ||
type: object | ||
properties: | ||
value: | ||
type: string | ||
example: "" | ||
example: | ||
value: "" | ||
FooPayload: | ||
title: FooPayload | ||
type: object | ||
properties: | ||
value: | ||
type: string | ||
example: "" | ||
example: | ||
value: "" | ||
FooResult: | ||
title: 'Mediatype identifier: application/vnd.goa.example.bar; view=default' | ||
type: object | ||
properties: | ||
value: | ||
type: string | ||
example: "" | ||
description: FooResponseBody result type (default view) | ||
example: | ||
value: "" |