diff --git a/domains-classifier/examples.http b/domains-classifier/examples.http index b9adba6..efc165e 100644 --- a/domains-classifier/examples.http +++ b/domains-classifier/examples.http @@ -1,8 +1,8 @@ # These examples can be used directly in VSCode, using REST Client extension (humao.rest-client) -# @baseUrl=https://domains-classifier.services.istex.fr +@baseUrl=https://domains-classifier.services.istex.fr # @baseUrl=https://domains-classifier.vptdmservices.intra.inist.fr -@baseUrl=http://vptdmservices.intra.inist.fr:49215 +# @baseUrl=http://vptdmservices.intra.inist.fr:49215 ### # @name v1EnClassify diff --git a/domains-classifier/swagger.json b/domains-classifier/swagger.json new file mode 100644 index 0000000..9d6b323 --- /dev/null +++ b/domains-classifier/swagger.json @@ -0,0 +1,32 @@ +{ + "info": { + "title": "domains-classifier - Classification en domaines scientifiques", + "summary": "Utilise une succession arborescente de modèles de type Fasttext pour prédire un code de classement Pascal/Francis", + "version": "1.5.0", + "termsOfService": "https://objectif-tdm.inist.fr/", + "contact": { + "name": "Inist-CNRS", + "url": "https://www.inist.fr/nous-contacter/" + } + }, + "servers": [ + { + "x-comment": "Will be automatically completed by the ezs server." + }, + { + "url": "http://vptdmservices.intra.inist.fr:49215/", + "description": "Latest version for production", + "x-profil": "Standard" + } + ], + "tags": [ + { + "name": "affiliation-rnsr", + "description": "Classification en domaines scientifiques", + "externalDocs": { + "description": "Plus de documentation", + "url": "https://github.com/Inist-CNRS/ezmaster-apps/tree/main/applications/ws-affiliation-rnsr" + } + } + ] +} \ No newline at end of file