File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,42 @@ async function init(prettyPrint: boolean = false) {
104104 title : "ACM @ UIUC Core API" ,
105105 version : "1.0.0" ,
106106 } ,
107+ servers : [
108+ app . runEnvironment === "prod"
109+ ? {
110+ url : "https://core.acm.illinois.edu" ,
111+ description : "Production API server" ,
112+ }
113+ : {
114+ url : "https://core.aws.qa.acmuiuc.org" ,
115+ description : "QA API server" ,
116+ } ,
117+ ] ,
118+ tags : [
119+ {
120+ name : "Events" ,
121+ description :
122+ "Retrieve ACM-wide and organization-specific calendars and event metadata." ,
123+ } ,
124+ {
125+ name : "Generic" ,
126+ description : "Retrieve metadata about a user or ACM." ,
127+ } ,
128+ {
129+ name : "iCalendar Integration" ,
130+ description :
131+ "Retrieve Events calendars in iCalendar format (for integration with external calendar clients)." ,
132+ } ,
133+ {
134+ name : "IAM" ,
135+ description : "Identity and Access Management for internal services." ,
136+ } ,
137+ { name : "Linkry" , description : "Link Shortener." } ,
138+ {
139+ name : "Logging" ,
140+ description : "View audit logs for various services." ,
141+ } ,
142+ ] ,
107143 openapi : "3.0.3" satisfies ZodOpenApiVersion , // If this is not specified, it will default to 3.1.0
108144 } ,
109145 transform : fastifyZodOpenApiTransform ,
You can’t perform that action at this time.
0 commit comments