Commit 69924b04 authored by Matija Obreza's avatar Matija Obreza
Browse files

Fixed /terms example and updated Terms model

parent d9179ca5
target
.settings/
.classpath
effective.pom
......@@ -444,13 +444,13 @@ paths:
examples:
application-json: >-
[{
"subject": "10.0155/1",
"oper": "crfr",
"object": "10.0155/3"
"code": "1",
"language": "en",
"term": "plant genetics"
}, {
"subject": "10.0155/1",
"oper": "crfr",
"object": "10.0155/2"
"code": "2",
"language": "en",
"term": "bioinformatics"
}]
securityDefinitions:
......@@ -462,6 +462,10 @@ securityDefinitions:
definitions:
Term:
type: object
required:
- code
- language
- term
properties:
code:
type: string
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment