File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -318,6 +318,38 @@ export default {
318318 'x-title' : 'Get a foo' ,
319319 } ,
320320 } ,
321+ '/foos/create' : {
322+ post : {
323+ operationId : 'foosCreatePost' ,
324+ responses : {
325+ 200 : {
326+ content : {
327+ 'application/json' : {
328+ schema : {
329+ properties : {
330+ ok : { type : 'boolean' } ,
331+ action_attempt : {
332+ $ref : '#/components/schemas/action_attempt' ,
333+ } ,
334+ } ,
335+ required : [ 'action_attempt' , 'ok' ] ,
336+ type : 'object' ,
337+ } ,
338+ } ,
339+ } ,
340+ description : 'Create a foo.' ,
341+ } ,
342+ 400 : { description : 'Bad Request' } ,
343+ 401 : { description : 'Unauthorized' } ,
344+ } ,
345+ security : [ ] ,
346+ summary : '/foos/create' ,
347+ tags : [ '/foos' ] ,
348+ 'x-response-key' : 'action_attempt' ,
349+ 'x-action-attempt-type' : 'CREATE_FOO' ,
350+ 'x-title' : 'Create a foo' ,
351+ } ,
352+ } ,
321353 '/foos/list' : {
322354 get : {
323355 operationId : 'foosListGet' ,
You can’t perform that action at this time.
0 commit comments