diff --git a/astro-ner/examples.http b/astro-ner/examples.http new file mode 100644 index 0000000..ef69d8f --- /dev/null +++ b/astro-ner/examples.http @@ -0,0 +1,18 @@ +# Ces exemples peuvent être exécutés directement dans VSCode, en utilisant l'extension REST Client (humao.rest-client) +# Décommenter/commenter les lignes voulues pour tester localement +# @baseUrl=http://localhost:31976 +# @baseUrl=http://astro-ner.tdmservices.intra.inist.fr/ +@baseUrl=https://astro-ner.services.istex.fr/ + +### +# @name v1AstroNer +# Reconnait des entités nommées en astrophysique +POST {{baseUrl}}/v1/tagger?indent=true HTTP/1.1 +Content-Type: application/json + +[ + { + "id": 1, + "value": "V643 Orionis is a binary star system located in the Orion constellation, offering valuable insightsinto stellar evolution. The Orion constellation is simple" + } +] diff --git a/astro-ner/swagger.json b/astro-ner/swagger.json new file mode 100644 index 0000000..19d879a --- /dev/null +++ b/astro-ner/swagger.json @@ -0,0 +1,32 @@ +{ + "info": { + "title": "astro-ner - Reconnaissance d'entités nommées en astrophysique", + "summary": "Reconnait des entités nommées en astrophysique", + "version": "0.0.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:????/", + "description": "Latest version for production", + "x-profil": "Standard" + } + ], + "tags": [ + { + "name": "astro-ner", + "description": "Reconnaissance d'entités nommées en astrophysique", + "externalDocs": { + "description": "Plus de documentation", + "url": "https://gitbucket.inist.fr/tdm/web-services/astro-ner/README.md" + } + } + ] +} \ No newline at end of file