Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Studio Ghibli API spec created by meeshkan
{"openapi": "3.0.0", "info": {"title": "API title", "version": "1.0", "description": "API description"}, "paths": {"/films/58611129-2dbc-4a81-a72f-77ddfc1b1b49": {"summary": "Path summary", "description": "Path description", "get": {"responses": {"200": {"description": "Response description", "headers": {}, "content": {"application/json": {"schema": {"required": ["description", "director", "id", "length", "locations", "people", "producer", "release_date", "rt_score", "species", "title", "url", "vehicles"], "properties": {"id": {"type": "string"}, "title": {"type": "string"}, "description": {"type": "string"}, "director": {"type": "string"}, "producer": {"type": "string"}, "release_date": {"type": "string"}, "rt_score": {"type": "string"}, "people": {"items": {"type": "string"}, "type": "array"}, "species": {"items": {"type": "string"}, "type": "array"}, "locations": {"items": {"type": "string"}, "type": "array"}, "vehicles": {"items": {"type": "string"}, "type": "array"}, "url": {"type": "string"}, "length": {"type": "null"}}, "type": "object"}}}, "links": {}}}, "summary": "Operation summary", "description": "Operation description", "operationId": "id", "parameters": [{"name": "User-Agent", "in": "header", "required": false, "schema": {"type": "string"}}, {"name": "Host", "in": "header", "required": false, "schema": {"type": "string"}}, {"name": "Accept", "in": "header", "required": false, "schema": {"type": "string"}}]}}, "/species/603428ba-8a86-4b0b-a9f1-65df6abef3d3": {"summary": "Path summary", "description": "Path description", "get": {"responses": {"200": {"description": "Response description", "headers": {}, "content": {"application/json": {"schema": {"required": ["classification", "eye_colors", "films", "hair_colors", "id", "length", "name", "people", "url"], "properties": {"id": {"type": "string"}, "name": {"type": "string"}, "classification": {"type": "string"}, "eye_colors": {"type": "string"}, "hair_colors": {"type": "string"}, "url": {"type": "string"}, "people": {"items": {"type": "string"}, "type": "array"}, "films": {"items": {"type": "string"}, "type": "array"}, "length": {"type": "null"}}, "type": "object"}}}, "links": {}}}, "summary": "Operation summary", "description": "Operation description", "operationId": "id", "parameters": [{"name": "User-Agent", "in": "header", "required": false, "schema": {"type": "string"}}, {"name": "Host", "in": "header", "required": false, "schema": {"type": "string"}}, {"name": "Accept", "in": "header", "required": false, "schema": {"type": "string"}}]}}, "/films": {"summary": "Path summary", "description": "Path description", "get": {"responses": {"200": {"description": "Response description", "headers": {}, "content": {"application/json": {"schema": {"items": {"required": ["description", "director", "id", "locations", "people", "producer", "release_date", "rt_score", "species", "title", "url", "vehicles"], "properties": {"id": {"type": "string"}, "title": {"type": "string"}, "description": {"type": "string"}, "director": {"type": "string"}, "producer": {"type": "string"}, "release_date": {"type": "string"}, "rt_score": {"type": "string"}, "people": {"items": {"type": "string"}, "type": "array"}, "species": {"items": {"type": "string"}, "type": "array"}, "locations": {"items": {"type": "string"}, "type": "array"}, "vehicles": {"items": {"type": "string"}, "type": "array"}, "url": {"type": "string"}}, "type": "object"}, "type": "array"}}}, "links": {}}}, "summary": "Operation summary", "description": "Operation description", "operationId": "id", "parameters": [{"name": "User-Agent", "in": "header", "required": false, "schema": {"type": "string"}}, {"name": "Host", "in": "header", "required": false, "schema": {"type": "string"}}, {"name": "Accept", "in": "header", "required": false, "schema": {"type": "string"}}]}}}, "servers": [{"url": "https://ghibliapi.herokuapp.com"}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.