diff --git a/cmapi-demo-oapi.json b/cmapi-demo-oapi.json deleted file mode 100644 index 4e5c50e..0000000 --- a/cmapi-demo-oapi.json +++ /dev/null @@ -1 +0,0 @@ -{ "components": { "schemas": {} }, "externalDocs": { "description": "More detailed documentation here", "url": "https://docs.carrismetropolitana.pt" }, "info": { "description": "Documentation for the Carris Metropolitana API", "title": "Carris Metropolitana API", "version": "v2" }, "openapi": "3.1.1", "paths": { "/facilities/schools": { "get": { "description": "Get all ENCM facilities", "responses": { "200": { "content": { "application/json": { "schema": { "_def": { "exactLength": null, "maxLength": null, "minLength": null, "type": { "_cached": null, "_def": { "catchall": { "_def": { "typeName": "ZodNever" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodObject", "unknownKeys": "strict" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodArray" }, "~standard": { "vendor": "zod", "version": 1 } } } }, "description": "Default Response" } }, "summary": "Get all ENCM facilities", "tags": ["datasets"] } }, "/facilities/stores": { "get": { "description": "Get all ENCM facilities", "responses": { "200": { "content": { "application/json": { "schema": { "_def": { "exactLength": null, "maxLength": null, "minLength": null, "type": { "_cached": null, "_def": { "catchall": { "_def": { "typeName": "ZodNever" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodObject", "unknownKeys": "strict" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodArray" }, "~standard": { "vendor": "zod", "version": 1 } } } }, "description": "Default Response" } }, "summary": "Get all ENCM facilities", "tags": ["datasets"] } }, "/locations/districts": { "get": { "description": "Get all Districts", "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "data": { "items": { "additionalProperties": false, "description": "hello world!", "example": { "id": "1", "name": "District 1", "region_id": "1" }, "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "region_id": { "type": "string" } }, "required": ["id", "name", "region_id"], "title": "District", "type": "object" }, "type": "array" }, "status": { "enum": ["success"], "type": "string" }, "timestamp": { "type": "number" } }, "required": ["data", "status", "timestamp"], "type": "object" } } }, "description": "200 OK" }, "500": { "content": { "application/json": { "schema": { "properties": { "message": { "type": "string" }, "status": { "enum": ["error"], "type": "string" }, "timestamp": { "type": "number" } }, "required": ["message", "status", "timestamp"], "type": "object" } } }, "description": "500 Internal Server Error" } }, "summary": "Get all ENCM facilities", "tags": ["locations"] } }, "/locations/localities": { "get": { "description": "Get all Localities", "responses": { "200": { "content": { "application/json": { "schema": { "_def": { "exactLength": null, "maxLength": null, "minLength": null, "type": { "_cached": null, "_def": { "catchall": { "_def": { "typeName": "ZodNever" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodObject", "unknownKeys": "strict" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodArray" }, "~standard": { "vendor": "zod", "version": 1 } } } }, "description": "Default Response" } }, "summary": "Get all ENCM facilities", "tags": ["locations"] } }, "/locations/municipalities": { "get": { "description": "Get all Municipalities", "responses": { "200": { "content": { "application/json": { "schema": { "_def": { "exactLength": null, "maxLength": null, "minLength": null, "type": { "_cached": null, "_def": { "catchall": { "_def": { "typeName": "ZodNever" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodObject", "unknownKeys": "strict" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodArray" }, "~standard": { "vendor": "zod", "version": 1 } } } }, "description": "Default Response" } }, "summary": "Get all ENCM facilities", "tags": ["locations"] } }, "/locations/parishes": { "get": { "description": "Get all Parishes", "responses": { "200": { "content": { "application/json": { "schema": { "_def": { "exactLength": null, "maxLength": null, "minLength": null, "type": { "_cached": null, "_def": { "catchall": { "_def": { "typeName": "ZodNever" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodObject", "unknownKeys": "strict" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodArray" }, "~standard": { "vendor": "zod", "version": 1 } } } }, "description": "Default Response" } }, "summary": "Get all ENCM facilities", "tags": ["locations"] } }, "/locations/regions": { "get": { "description": "Get all Regions", "responses": { "200": { "content": { "application/json": { "schema": { "_def": { "exactLength": null, "maxLength": null, "minLength": null, "type": { "_cached": null, "_def": { "catchall": { "_def": { "typeName": "ZodNever" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodObject", "unknownKeys": "strict" }, "~standard": { "vendor": "zod", "version": 1 } }, "typeName": "ZodArray" }, "~standard": { "vendor": "zod", "version": 1 } } } }, "description": "Default Response" } }, "summary": "Get all ENCM facilities", "tags": ["locations"] } } }, "servers": [{ "description": "Production", "url": "https://api.carrismetropolitana.pt/v2" }], "tags": [{ "description": "Facilities", "name": "facilities" }, { "description": "Interesting realtime metrics", "name": "metrics" }, { "description": "Administrative divisions", "name": "locations" }, { "description": "Bus Network endpoints", "name": "network" }, { "description": "System status info", "name": "status" }] }