forked from loafle/openapi-generator-original
* n4js initial commit * incorporate feedback from user * add tests * fix media type in case of DELETE method * fix media type * some minor fixes * options fix for booleans * small fixes * generated files by ./bin/utils/ensure-up-to-date * remove String::toLowerCase due to de.thetaphi:forbiddenapis * adjust test expectation * fix test expectations * fix test expectation * add note to section 'Languages/Generators' * remove file according to review * replace tabs by spaces * replace tabs by spaces (2) * update two generated files * remove test file * move statement
29 lines
702 B
Plaintext
29 lines
702 B
Plaintext
/*
|
|
* OpenAPI Petstore
|
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
|
*
|
|
* The version of the OpenAPI document: 1.0.0
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
|
|
/**
|
|
* An order for a pets from the pet store
|
|
*/
|
|
export external public interface ~Order {
|
|
public id?: int;
|
|
public petId?: int;
|
|
public quantity?: int;
|
|
public shipDate?: string;
|
|
|
|
/**
|
|
* Order Status
|
|
*/
|
|
public status?: "placed" | "approved" | "delivered";
|
|
public complete?: boolean;
|
|
}
|