@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api LanguageTool API
@base https://api.languagetoolplus.com/v2
@version 1.1.2
@auth ApiKey apiKey in formData
@endpoints 5
@toc check(1), languages(1), words(3)

@group check
@endpoint POST /check
@required {language: any}
@optional {text: any, data: any, username: any, apiKey: any, dicts: any, motherTongue: any, preferredVariants: any, enabledRules: any, disabledRules: any, enabledCategories: any, disabledCategories: any, enabledOnly: any, level: any}
@returns(200)

@endgroup

@group languages
@endpoint GET /languages
@returns(200)

@endgroup

@group words
@endpoint GET /words
@required {username: any, apiKey: any}
@optional {offset: any, limit: any, dicts: any}
@returns(200)

@endpoint POST /words/add
@required {word: any, username: any, apiKey: any}
@optional {dict: any}
@returns(200)

@endpoint POST /words/delete
@required {word: any, username: any, apiKey: any}
@optional {dict: any}
@returns(200)

@endgroup

@end
