-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9cf36a6
commit 6ea496e
Showing
4 changed files
with
1,787 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY | ||
apis[] = {"apiId":"ec895523-92f2-4b7d-8a87-6ad05ba6f411"} | ||
configVersion = 1.0.0 | ||
type = api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY | ||
configVersion = 1.1.0 | ||
type = apiEntityData | ||
|
||
[config] | ||
id = ec895523-92f2-4b7d-8a87-6ad05ba6f411 | ||
|
||
[config.relations] | ||
|
||
[config.relations.collections] | ||
rootDirectory = postman/collections | ||
files[] = {"id":"16950503-213c44b5-c8bb-4137-911e-2a85dd34d513","path":"Nigeris States, Towns and Local Government Area.json","metaData":{}} | ||
|
||
[config.relations.collections.metaData] | ||
|
||
[config.relations.apiDefinition] | ||
files[] = {"path":"index.json","metaData":{}} | ||
|
||
[config.relations.apiDefinition.metaData] | ||
type = openapi:3 | ||
rootFiles[] = index.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
{ | ||
"openapi": "3.0.0", | ||
"info": { | ||
"version": "1.0.0", | ||
"title": "Sample API", | ||
"description": "Buy or rent spacecrafts" | ||
}, | ||
"paths": { | ||
"/spacecrafts/{spacecraftId}": { | ||
"parameters": [ | ||
{ | ||
"name": "spacecraftId", | ||
"description": "The unique identifier of the spacecraft", | ||
"in": "path", | ||
"required": true, | ||
"schema": { | ||
"$ref": "#/components/schemas/SpacecraftId" | ||
} | ||
} | ||
], | ||
"get": { | ||
"summary": "Read a spacecraft", | ||
"responses": { | ||
"200": { | ||
"description": "The spacecraft corresponding to the provided `spacecraftId`", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/Spacecraft" | ||
} | ||
} | ||
} | ||
}, | ||
"404": { | ||
"description": "No spacecraft found for the provided `spacecraftId`", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/Error" | ||
} | ||
} | ||
} | ||
}, | ||
"500": { | ||
"description": "Unexpected error", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/Error" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"components": { | ||
"schemas": { | ||
"SpacecraftId": { | ||
"description": "The unique identifier of a spacecraft", | ||
"type": "string" | ||
}, | ||
"Spacecraft": { | ||
"type": "object", | ||
"required": [ | ||
"id", | ||
"name", | ||
"type" | ||
], | ||
"properties": { | ||
"id": { | ||
"$ref": "#/components/schemas/SpacecraftId" | ||
}, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"capsule", | ||
"probe", | ||
"satellite", | ||
"spaceplane", | ||
"station" | ||
] | ||
}, | ||
"description": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"Error": { | ||
"type": "object", | ||
"required": [ | ||
"message" | ||
], | ||
"properties": { | ||
"message": { | ||
"description": "A human readable error message", | ||
"type": "string" | ||
} | ||
} | ||
} | ||
}, | ||
"securitySchemes": { | ||
"ApiKey": { | ||
"type": "apiKey", | ||
"in": "header", | ||
"name": "X-Api-Key" | ||
} | ||
} | ||
}, | ||
"security": [ | ||
{ | ||
"ApiKey": [] | ||
} | ||
] | ||
} |
1,643 changes: 1,643 additions & 0 deletions
1,643
postman/collections/Nigeris States, Towns and Local Government Area.json
Large diffs are not rendered by default.
Oops, something went wrong.