Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace category and tag objects with simple string #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 3 additions & 26 deletions src/main/resources/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -676,19 +676,6 @@ components:
xml:
name: address
type: object
Category:
x-swagger-router-model: io.swagger.petstore.model.Category
properties:
id:
type: integer
format: int64
example: 1
name:
type: string
example: Dogs
xml:
name: category
type: object
User:
x-swagger-router-model: io.swagger.petstore.model.User
properties:
Expand Down Expand Up @@ -722,17 +709,6 @@ components:
xml:
name: user
type: object
Tag:
x-swagger-router-model: io.swagger.petstore.model.Tag
properties:
id:
type: integer
format: int64
name:
type: string
xml:
name: tag
type: object
Pet:
x-swagger-router-model: io.swagger.petstore.model.Pet
required:
Expand All @@ -747,7 +723,8 @@ components:
type: string
example: doggie
category:
$ref: '#/components/schemas/Category'
type: string
example: Dogs
photoUrls:
type: array
xml:
Expand All @@ -761,7 +738,7 @@ components:
xml:
wrapped: true
items:
$ref: '#/components/schemas/Tag'
type: string
xml:
name: tag
status:
Expand Down