{ "openapi": "3.0.1", "info": { "title": "Language", "description": "Description", "contact": { "name": "Example Contact", "url": "https://example.com/contact" }, "license": { "name": "Example License", "url": "https://example.com/license" }, "version": "v1" }, "paths": { "/Dictionaries/Language/List": { "get": { "tags": [ "Language" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Language" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Language" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Language" } } } } } } } }, "/Dictionaries/Language/Create": { "post": { "tags": [ "Language" ], "parameters": [ { "name": "codeIso2", "in": "query", "schema": { "type": "string" } }, { "name": "name", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string", "format": "uuid" } }, "application/json": { "schema": { "type": "string", "format": "uuid" } }, "text/json": { "schema": { "type": "string", "format": "uuid" } } } } } } }, "/Dictionaries/Language/Edit": { "post": { "tags": [ "Language" ], "parameters": [ { "name": "id", "in": "query", "schema": { "type": "string", "format": "uuid" } }, { "name": "codeIso2", "in": "query", "schema": { "type": "string" } }, { "name": "name", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/Dictionaries/Language/Delete": { "post": { "tags": [ "Language" ], "parameters": [ { "name": "id", "in": "query", "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success" } } } } }, "components": { "schemas": { "Language": { "required": [ "codeIso3", "name" ], "type": "object", "properties": { "id": { "type": "string", "format": "uuid" }, "codeIso3": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "iconId": { "type": "string", "format": "uuid", "nullable": true }, "deleted": { "type": "boolean" } }, "additionalProperties": false } } } }