You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swagger: '2.0'
info:
version: 0.0.0
title: Simple API
tags:
- name: Zebras
- name: Aardvarks
paths:
/v1/zebras:
get:
description: I would like this to appear before Aardvarks
tags:
- Zebras
responses:
200:
description: OK
schema:
$ref: "#/definitions/Zebra"
/v1/aardvarks:
get:
description: I would like this to appear after zebras
tags:
- Aardvarks
responses:
200:
description: OK
schema:
$ref: "#/definitions/Aardvark"
definitions:
Aardvark:
type: object
allOf:
- $ref: "#/definitions/Animal"
properties:
somePropertyOfAardvark:
type: string
description: this should be displayed in the definition of Aardvark but doesn't
Zebra:
type: object
allOf:
- $ref: "#/definitions/Animal"
properties:
somePropertyOfZebra:
type: string
description: this should be displayed in the definition of Zebra but doesn't
required:
- somePropertyOfZebra
Animal:
type: object
properties:
somePropertyOfAnimal:
type: string
"_etag":
type: string
readOnly: true
description: This property is actually named _etag but shows up without the underscore. It also should show that it is a readOnly property.
The text was updated successfully, but these errors were encountered:
I would like an option to influence the ordering of resources based on the order that they exist in my swagger.
Desired:
From the example below, I would want /v1/zebras to appear before /v1/apples
Actual:
The resources are sorted alphabetically
The text was updated successfully, but these errors were encountered: