mirror of
https://github.com/correl/openapi-core.git
synced 2024-11-28 11:09:52 +00:00
2ec02e473e
Adds flask_wrapper.yaml spec
19 lines
448 B
YAML
19 lines
448 B
YAML
openapi: "3.0.0"
|
|
info:
|
|
title: Basic OpenAPI specification used with test_wrappers.TestFlaskOpenAPIIValidation
|
|
version: "0.1"
|
|
servers:
|
|
- url: 'http://localhost'
|
|
paths:
|
|
'/browse/{id}/':
|
|
parameters:
|
|
- name: id
|
|
in: path
|
|
required: true
|
|
description: the ID of the resource to retrieve
|
|
schema:
|
|
type: integer
|
|
get:
|
|
responses:
|
|
default:
|
|
description: Return the resource.
|