Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
Updated protagonist to 0.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pksunkara committed Mar 29, 2015
1 parent dc49701 commit 0db8397
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"boutique": "~0.1.3",
"deep-equal": "1.0.x",
"deepcopy": "0.4.x",
"protagonist-experimental": "~0.18.7",
"protagonist": "0.19.x",
"yargs": "~1.3.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/drafter.coffee
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
protagonist = require 'protagonist-experimental'
protagonist = require 'protagonist'
boutique = require 'boutique'
options = require './options'
fs = require 'fs'
Expand Down
18 changes: 17 additions & 1 deletion test/fixtures/blueprint.parseresult+sourcemap.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ast": {
"_version": "2.1",
"_version": "3.0",
"metadata": [],
"name": "",
"description": "",
Expand All @@ -23,6 +23,10 @@
"description": "",
"method": "GET",
"parameters": [],
"attributes": {
"relation": "",
"uriTemplate": ""
},
"content": [],
"examples": [
{
Expand Down Expand Up @@ -73,6 +77,10 @@
"description": "",
"method": "GET",
"parameters": [],
"attributes": {
"relation": "",
"uriTemplate": ""
},
"content": [],
"examples": [
{
Expand Down Expand Up @@ -139,6 +147,10 @@
]
],
"parameters": [],
"attributes": {
"relation": [],
"uriTemplate": []
},
"examples": [
{
"name": [],
Expand Down Expand Up @@ -208,6 +220,10 @@
]
],
"parameters": [],
"attributes": {
"relation": [],
"uriTemplate": []
},
"examples": [
{
"name": [],
Expand Down
10 changes: 9 additions & 1 deletion test/fixtures/blueprint.parseresult.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ast": {
"_version": "2.1",
"_version": "3.0",
"metadata": [],
"name": "",
"description": "",
Expand All @@ -23,6 +23,10 @@
"description": "",
"method": "GET",
"parameters": [],
"attributes": {
"relation": "",
"uriTemplate": ""
},
"content": [],
"examples": [
{
Expand Down Expand Up @@ -73,6 +77,10 @@
"description": "",
"method": "GET",
"parameters": [],
"attributes": {
"relation": "",
"uriTemplate": ""
},
"content": [],
"examples": [
{
Expand Down
26 changes: 25 additions & 1 deletion test/fixtures/dataStructures.ast.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_version": "2.1",
"_version": "3.0",
"metadata": [
{
"name": "FORMAT",
Expand Down Expand Up @@ -43,6 +43,10 @@
"description": "Retrieves the coupon with the given ID.\n\n",
"method": "GET",
"parameters": [],
"attributes": {
"relation": "",
"uriTemplate": ""
},
"content": [],
"examples": [
{
Expand Down Expand Up @@ -522,6 +526,10 @@
"values": []
}
],
"attributes": {
"relation": "",
"uriTemplate": ""
},
"content": [],
"examples": [
{
Expand Down Expand Up @@ -584,6 +592,10 @@
"description": "Creates a new Coupon.\n\n",
"method": "POST",
"parameters": [],
"attributes": {
"relation": "",
"uriTemplate": ""
},
"content": [
{
"element": "dataStructure",
Expand Down Expand Up @@ -2590,6 +2602,10 @@
"description": "Retrieves the coupon with the given ID.\n\n",
"method": "GET",
"parameters": [],
"attributes": {
"relation": "",
"uriTemplate": ""
},
"content": [],
"examples": [
{
Expand Down Expand Up @@ -3069,6 +3085,10 @@
"values": []
}
],
"attributes": {
"relation": "",
"uriTemplate": ""
},
"content": [],
"examples": [
{
Expand Down Expand Up @@ -3131,6 +3151,10 @@
"description": "Creates a new Coupon.\n\n",
"method": "POST",
"parameters": [],
"attributes": {
"relation": "",
"uriTemplate": ""
},
"content": [
{
"element": "dataStructure",
Expand Down

0 comments on commit 0db8397

Please sign in to comment.