Files
fastapi-openapi-to-postman/test/data/toBundleExamples/composite_not/root.yaml
Erik Mendoza ff2c80cbc4 Adding tests to 3.0
- anyOf
- not
- oneOf
2022-06-14 17:49:35 -05:00

32 lines
897 B
YAML

openapi: 3.0.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:
type: object
properties:
id:
type: integer
client:
type: object
not:
$ref: "./schemas/user.yaml"