-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
42 changed files
with
520 additions
and
1,446 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
samples/generated-code/src/main/java/.swagger-codegen-ignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Swagger Codegen Ignore | ||
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen | ||
|
||
# Use this file to prevent files from being overwritten by the generator. | ||
# The patterns follow closely to .gitignore or .dockerignore. | ||
|
||
# As an example, the C# client generator defines ApiClient.cs. | ||
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: | ||
#ApiClient.cs | ||
|
||
# You can match any string of characters against a directory, file or extension with a single asterisk (*): | ||
#foo/*/qux | ||
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux | ||
|
||
# You can recursively match patterns against a directory, file or extension with a double asterisk (**): | ||
#foo/**/qux | ||
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux | ||
|
||
# You can also negate patterns with an exclamation (!). | ||
# For example, you can ignore all files in a docs folder with the file extension .md: | ||
#docs/*.md | ||
# Then explicitly reverse the ignore rule for a single file: | ||
#!docs/README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,104 +1 @@ | ||
{ | ||
"definitions": { | ||
"Category": { | ||
"description": "A Category used to group pets", | ||
"properties": { | ||
"id": { | ||
"description": "Unique ID of the Category", | ||
"format": "int64", | ||
"type": "integer" | ||
}, | ||
"name": { | ||
"description": "Name of this category", | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"Pet": { | ||
"description": "Represents a specific Pet in the store", | ||
"properties": { | ||
"category": { | ||
"$ref": "#/definitions/Category", | ||
"description": "Optional category of the pet" | ||
}, | ||
"id": { | ||
"description": "Unique ID of this Pet", | ||
"format": "int64", | ||
"type": "integer" | ||
}, | ||
"name": { | ||
"description": "Name of this specific pet", | ||
"type": "string" | ||
}, | ||
"photoUrls": { | ||
"description": "Photo URls for this Pet on the bucket", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"tags": { | ||
"description": "Pet status in the store", | ||
"items": { | ||
"$ref": "#/definitions/Tag" | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"required": [ | ||
"name", | ||
"photoUrls" | ||
], | ||
"type": "object" | ||
}, | ||
"Tag": { | ||
"description": "A Tag used to group entities", | ||
"properties": { | ||
"id": { | ||
"description": "Unique ID of the Tag", | ||
"format": "int64", | ||
"type": "integer" | ||
}, | ||
"name": { | ||
"description": "Name of this Tag", | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object" | ||
} | ||
}, | ||
"info": { | ||
"description": "This is a simplified version of the sample server Petstore server.", | ||
"title": "Swagger Petstore", | ||
"version": "1.0.0" | ||
}, | ||
"paths": { | ||
"/pet/{petId}": { | ||
"get": { | ||
"description": "Returns a single pet", | ||
"operationId": "getPetById", | ||
"parameters": [ | ||
{ | ||
"description": "ID of pet to return", | ||
"format": "int64", | ||
"in": "path", | ||
"name": "petId", | ||
"required": true, | ||
"type": "integer" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "successful operation", | ||
"schema": { | ||
"$ref": "#/definitions/Pet" | ||
} | ||
} | ||
}, | ||
"summary": "Find pet by ID" | ||
} | ||
} | ||
}, | ||
"swagger": "2.0" | ||
} | ||
{"swagger":"2.0","info":{"description":"This is a simplified version of the sample server Petstore server.","version":"1.0.0","title":"Swagger Petstore"},"paths":{"/pet/{petId}":{"get":{"summary":"Find pet by ID","description":"Returns a single pet","operationId":"getPetById","parameters":[{"name":"petId","in":"path","description":"ID of pet to return","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/Pet"}}}}}},"definitions":{"Category":{"type":"object","properties":{"id":{"type":"integer","format":"int64","description":"Unique ID of the Category"},"name":{"type":"string","description":"Name of this category"}},"description":"A Category used to group pets"},"Pet":{"type":"object","required":["name","photoUrls"],"properties":{"category":{"description":"Optional category of the pet","$ref":"#/definitions/Category"},"id":{"type":"integer","format":"int64","description":"Unique ID of this Pet"},"name":{"type":"string","description":"Name of this specific pet"},"photoUrls":{"type":"array","description":"Photo URls for this Pet on the bucket","items":{"type":"string"}},"tags":{"type":"array","description":"Pet status in the store","items":{"$ref":"#/definitions/Tag"}}},"description":"Represents a specific Pet in the store"},"Tag":{"type":"object","properties":{"id":{"type":"integer","format":"int64","description":"Unique ID of the Tag"},"name":{"type":"string","description":"Name of this Tag"}},"description":"A Tag used to group entities"}}} |
Oops, something went wrong.