Files
fastapi-openapi-to-postman/test/data/toBundleExamples/schema_from_response/root3_1.yaml
Luis Tejeda c0254456ae bundle only found content
bundle only the files that has content and add test for filtering root files in bundle according to the version.
2022-06-08 13:12:57 -05:00

24 lines
672 B
YAML

openapi: 3.1.0
info:
title: Sample API
description: Optional multiline or single-line description in [CommonMark](http://commonmark.org/help/) or HTML.
version: 0.1.9
servers:
- url: http://api.example.com/v1
description: Optional server description, e.g. Main (production) server
- url: http://staging-api.example.com
description: Optional server description, e.g. Internal staging server for testing
paths:
/users/{userId}:
get:
summary: Get a user by ID
responses:
200:
description: A single user.
content:
application/json:
schema:
$ref: "./schemas/user.yaml"