mirror of
https://github.com/correl/openapi-core.git
synced 2024-12-01 03:00:09 +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.
|