diff --git a/ramls/pick-slips.raml b/ramls/pick-slips.raml index 53d968acd1..67e9c0fc06 100644 --- a/ramls/pick-slips.raml +++ b/ramls/pick-slips.raml @@ -1,12 +1,12 @@ #%RAML 1.0 -title: Pick Slips +title: Slips version: v0.3 protocols: [ HTTP, HTTPS ] baseUri: http://localhost:9130 documentation: - - title: API for fetching current pick slips - content: API for pick slips generation + - title: API for fetching current pick and search slips + content: API for pick and search slips generation types: pick-slips: !include pick-slips-response.json @@ -24,3 +24,9 @@ resourceTypes: collection-get: exampleCollection: !include examples/pick-slips-response.json schemaCollection: pick-slips + /search-slips: + /{servicePointId}: + type: + collection-get: + exampleCollection: !include examples/pick-slips-response.json + schemaCollection: search-slips diff --git a/ramls/search-slips.raml b/ramls/search-slips.raml deleted file mode 100644 index f278335d00..0000000000 --- a/ramls/search-slips.raml +++ /dev/null @@ -1,26 +0,0 @@ -#%RAML 1.0 -title: Pick Slips -version: v0.3 -protocols: [ HTTP, HTTPS ] -baseUri: http://localhost:9130 - -documentation: - - title: API for fetching current search slips - content: API for search slips generation - -types: - search-slips: !include pick-slips-response.json - -traits: - language: !include raml-util/traits/language.raml - -resourceTypes: - collection-get: !include raml-util/rtypes/collection-get.raml - -/circulation: - /search-slips: - /{servicePointId}: - type: - collection-get: - exampleCollection: !include examples/pick-slips-response.json - schemaCollection: search-slips