onshape-clients
Version:
The meta package for creating the various Onshape clients
112 lines (105 loc) • 2.75 kB
text/typescript
/**
* Onshape REST API
* The Onshape REST API consumed by all clients.
*
* OpenAPI spec version: 1.93
* Contact: api-support@onshape.zendesk.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Operation } from './operation';
import { Parameter } from './parameter';
import { Server } from './server';
export class PathItem {
'summary'?: string;
'description'?: string;
'get'?: Operation;
'put'?: Operation;
'post'?: Operation;
'_delete'?: Operation;
'options'?: Operation;
'head'?: Operation;
'patch'?: Operation;
'trace'?: Operation;
'servers'?: Array<Server>;
'parameters'?: Array<Parameter>;
'get$ref'?: string;
'extensions'?: { [key: string]: any; };
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "summary",
"baseName": "summary",
"type": "string"
},
{
"name": "description",
"baseName": "description",
"type": "string"
},
{
"name": "get",
"baseName": "get",
"type": "Operation"
},
{
"name": "put",
"baseName": "put",
"type": "Operation"
},
{
"name": "post",
"baseName": "post",
"type": "Operation"
},
{
"name": "_delete",
"baseName": "delete",
"type": "Operation"
},
{
"name": "options",
"baseName": "options",
"type": "Operation"
},
{
"name": "head",
"baseName": "head",
"type": "Operation"
},
{
"name": "patch",
"baseName": "patch",
"type": "Operation"
},
{
"name": "trace",
"baseName": "trace",
"type": "Operation"
},
{
"name": "servers",
"baseName": "servers",
"type": "Array<Server>"
},
{
"name": "parameters",
"baseName": "parameters",
"type": "Array<Parameter>"
},
{
"name": "get$ref",
"baseName": "get$ref",
"type": "string"
},
{
"name": "extensions",
"baseName": "extensions",
"type": "{ [key: string]: any; }"
} ];
static getAttributeTypeMap() {
return PathItem.attributeTypeMap;
}
}