-
Notifications
You must be signed in to change notification settings - Fork 0
/
api
1 lines (1 loc) · 1.33 KB
/
api
1
{"swagger":"2.0","info":{"version":"","title":""},"paths":{"/langs":{"get":{"produces":["application/json;charset=utf-8"],"responses":{"200":{"schema":{"items":{"$ref":"#/definitions/Language"},"type":"array"},"description":""}}}},"/langs/traceWord":{"get":{"consumes":["application/json;charset=utf-8"],"produces":["application/json;charset=utf-8"],"parameters":[{"required":true,"schema":{"$ref":"#/definitions/TraceWordReq"},"in":"body","name":"body"}],"responses":{"400":{"description":"Invalid `body`"},"200":{"schema":{"items":{"type":"string"},"type":"array"},"description":""}}}}},"definitions":{"Language":{"required":["languageLname"],"properties":{"languageLname":{"$ref":"#/definitions/LanguageName"}},"type":"object"},"LanguageName":{"type":"string","enum":["Aboleth","Alko","ClassicalArcane","Dragon","Dwarven","Edhellen","English","Halfling","Infernal","Khuzdûl","Kobold","LizardFolk","Necril","Nerlendic","Nitholan","NitholanEmpire","OldDragon","OldNerlendic","OldNitholan","OldRunic","Orkish","PrimalMagic","ProtoCreation","ProtoDragon","ProtoDwarven","ProtoElven","ProtoHuman","ProtoMaterial","ProtoMonster","ProtoOrk","ProtoTengu","Queran","SlaveRunic","Sylvan","Titan"]},"TraceWordReq":{"required":["word","langs"],"properties":{"word":{"type":"string"},"langs":{"items":{"$ref":"#/definitions/LanguageName"},"type":"array"}},"type":"object"}}}