mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-11 04:22:19 +00:00
enums to objects
This commit is contained in:
@@ -60,10 +60,10 @@ export interface Property {
|
||||
} & OpenAPIV3.ReferenceObject;
|
||||
}
|
||||
|
||||
export enum ModelType {
|
||||
REST = 'REST',
|
||||
GRAPHQL = 'GraphQL'
|
||||
}
|
||||
export const ModelType = {
|
||||
REST: 'REST',
|
||||
GRAPHQL: 'GraphQL'
|
||||
} as const;
|
||||
|
||||
function getExamples(version: string) {
|
||||
switch (version) {
|
||||
|
||||
Reference in New Issue
Block a user