Skip to content
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
6d6a128
composer.json: update dependencies
adriendupuis Jan 27, 2023
85ada76
raml2html/composer.json: Reinsert name, license, authors
adriendupuis Feb 1, 2023
6e63c8c
Add raml2html/composer.lock
adriendupuis Feb 1, 2023
61d9f02
Merge branch 'master' into update-raml2html
adriendupuis Feb 16, 2023
2278ce2
Update composer.json
adriendupuis Feb 16, 2023
243554a
php8.2.patch: Remove Body.php fix as it had been avoided in our code
adriendupuis Feb 16, 2023
557ec2c
*.raml: Minimal fixes to avoid critical errors while raml2html
adriendupuis Feb 21, 2023
4a0b546
*.raml: Minimal fixes to avoid critical errors while raml2html
adriendupuis Feb 21, 2023
b5d3950
php_8.2.patch: Remove Parser.php patch as fixed on our RAML side
adriendupuis Feb 21, 2023
77a9c9d
ez-types.raml: quick and dirty fixes of arrays without typed items
adriendupuis Feb 21, 2023
2e3cc7b
php_8.2.patch: Remove Type.php patch as fixed on our RAML side
adriendupuis Feb 21, 2023
941480e
php_8.2.patch → php_8.1.patch
adriendupuis Feb 21, 2023
51bd16a
commit raml2html composer.lock
adriendupuis Feb 21, 2023
89ec137
Merge branch 'master' into update-raml2html
adriendupuis Feb 23, 2023
a1217b6
ez-types.raml: Refine few types
adriendupuis Feb 23, 2023
90f45d8
Merge branch 'master' into update-raml2html
adriendupuis Mar 3, 2023
38b8ece
Regenerate rest_api_reference.html
adriendupuis Mar 3, 2023
74e9dcd
raml2html composer.json: Patch using PR instead of local file
adriendupuis Mar 23, 2023
97d347e
raml2html composer.json: Also compatible w/ PHP 8.0
adriendupuis Mar 23, 2023
29e9cb1
raml2html: remove composer.lock for flexibility
adriendupuis Mar 23, 2023
cdbeca9
composer.json: Upgrade Twig a bit as allowed by PHP 8.0
adriendupuis Jul 6, 2023
d262f36
Merge branch 'master' into update-raml2html
adriendupuis Jul 6, 2023
017c900
Revert ez-calendar.raml
adriendupuis Jul 7, 2023
12639f5
Merge branch 'master' into update-raml2html
adriendupuis Jul 7, 2023
791c273
Update raml2html/README.md
adriendupuis Jul 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ displayName: Calendar
description: A calendar action that e.g. reschedules or unschedules calendar events. The event type should always be copied from an event.
headers:
Content-Type:
description:
#description:
example: |
application/vnd.ibexa.api.calendar.future_publication.UnscheduleAction+json
body:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ post:
responses:
200:
body:
application/vnd.ibexa.api.AttributeGroupView+json;
application/vnd.ibexa.api.AttributeGroupView+json:
type: AttributeGroupView
example: !include examples/product/catalog/attribute_groups/POST/AttributeGroupView.json.example
400:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ get:
responses:
200:
body:
application/vnd.ibexa.api.AttributeView+json;
application/vnd.ibexa.api.AttributeView+json:
type: AttributeView
example: !include examples/product/catalog/attributes/POST/AttributeView.json.example
400:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ post:
responses:
200:
body:
application/vnd.ibexa.api.CatalogView+json;
application/vnd.ibexa.api.CatalogView+json:
type: ProductView
example: !include examples/product/catalog/catalog/POST/CatalogView.json.example
400:
Expand Down Expand Up @@ -170,7 +170,7 @@ post:
responses:
200:
body:
application/vnd.ibexa.api.ProductView+json;
application/vnd.ibexa.api.ProductView+json:
type: ProductView
example: !include examples/product/catalog/catalog/POST/CatalogProductsView.json.example
400:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ get:
responses:
200:
body:
application/vnd.ibexa.api.CurrencyView+json;
application/vnd.ibexa.api.CurrencyView+json:
type: CurrencyView
example: !include examples/product/catalog/currency/POST/CurrencyView.json.example
400:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ post:
responses:
200:
body:
application/vnd.ibexa.api.CustomerGroupView+json;
application/vnd.ibexa.api.CustomerGroupView+json:
type: CustomerGroupView
example: !include examples/product/catalog/customer_groups/POST/CustomerGroupView.json.example
400:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ get:
responses:
200:
body:
application/vnd.ibexa.api.ProductView+json;
application/vnd.ibexa.api.ProductView+json:
type: ProductView
example: !include examples/product/catalog/product/POST/ProductView.json.example
400:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ get:
responses:
200:
body:
application/vnd.ibexa.api.ProductTypeView+json;
application/vnd.ibexa.api.ProductTypeView+json:
type: ProductTypeView
example: !include examples/product/catalog/product_types/POST/ProductTypeView.json.example
400:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
responses:
200:
body:
application/vnd.ibexa.api.ProductVariantView+json;
application/vnd.ibexa.api.ProductVariantView+json:
type: ProductVariantView
example: !include examples/product/catalog/product_variants/POST/ProductVariantView.json.example
400:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ get:
responses:
200:
body:
application/vnd.ibexa.api.RegionView+json;
application/vnd.ibexa.api.RegionView+json:
type: RegionView
example: !include examples/product/catalog/regions/POST/RegionView.json.example
400:
Expand Down
63 changes: 53 additions & 10 deletions docs/api/rest_api/rest_api_reference/input/ez-types.raml
Original file line number Diff line number Diff line change
Expand Up @@ -559,9 +559,11 @@ ContentTypeUpdateStruct:
names:
description: 'If set this array of names with languageCode keys replace the complete name collection.'
type: array
items: string
descriptions:
description: 'If set this array of descriptions with languageCode keys replace the complete description collection.'
type: array
items: string
ContentUpdateStruct:
description: 'This class is used for updating the fields of a Content item draft.'
type: object
Expand Down Expand Up @@ -613,6 +615,7 @@ CreateStruct:
data:
description: 'Notification data.'
type: array
items: mixed
Criterion:
description: 'Criterion implementations.'
type: object
Expand All @@ -623,6 +626,7 @@ Criterion:
value:
description: 'The value(s) matched by the Criteria.'
type: array
items: object
target:
description: 'The target used by the Criteria (field, metadata...).'
type: string
Expand Down Expand Up @@ -812,9 +816,11 @@ FieldDefinitionCreateStruct:
names:
description: 'An array of names with languageCode keys.'
type: array
items: string
descriptions:
description: 'An array of descriptions with languageCode keys.'
type: array
items: string
fieldGroup:
description: 'Field group name.'
type: string
Expand Down Expand Up @@ -852,9 +858,11 @@ FieldDefinitionUpdateStruct:
names:
description: 'If set this array of names with languageCode keys replace the complete name collection.'
type: array
items: string
descriptions:
description: 'If set this array of descriptions with languageCode keys replace the complete description collection.'
type: array
items: string
fieldGroup:
description: 'If set the field group is changed to this name.'
type: string
Expand Down Expand Up @@ -906,6 +914,8 @@ Language:
ALL:
description: "Constant for use in API's to specify that you want to load all languages."
type: array
items: string
maxItems: 0
id:
description: 'The language ID (auto generated).'
type: integer
Expand Down Expand Up @@ -1071,6 +1081,7 @@ Message:
values:
description: 'Translation value objects. May not contain any numbers, which might result in requiring plural forms. Use Plural for that.'
type: array
items: object
Notification:
description: 'This class represents a notification value.'
type: object
Expand All @@ -1093,6 +1104,7 @@ Notification:
data:
description: 'This class represents data.'
type: array
items: mixed
NotificationList:
description: 'This class represents a notifications list.'
type: object
Expand Down Expand Up @@ -1289,6 +1301,7 @@ Plural:
values:
description: 'Translation value objects. May not contain any numbers, which might result in requiring plural forms. Use MessagePlural for that.'
type: array
items: object
Policy:
description: 'This class represents a policy value.'
type: BaseObject
Expand Down Expand Up @@ -1718,7 +1731,7 @@ UrlAlias:
type: any
path:
description: 'The full path of the alias.'
type:
type: string
languageCodes:
description: 'The languageCodes for which this path is valid.'
type: string[]
Expand Down Expand Up @@ -2041,6 +2054,7 @@ ValueObject:
Properties:
description: 'Function where list of properties are returned.'
type: array
items: mixed
Version:
description: 'Returns the VersionInfo for this version.'
type: BaseObject
Expand Down Expand Up @@ -2186,6 +2200,7 @@ BasketLineData:
required: true
dataMap:
type: array
items: mixed
required: false

PartyTypeInput:
Expand All @@ -2194,8 +2209,8 @@ PartyTypeInput:
Party:
type: object
properties:
PartyIdentification: array
PartyName: array
PartyIdentification: mixed[]
PartyName: mixed[]
PostalAddress: object
Contact: object
Person: object
Expand All @@ -2206,7 +2221,7 @@ ShippingMethodDataResponse:
properties:
shippingMethods: object
defaultMethod: string
shippingMethodsSorted: array
shippingMethodsSorted: mixed[]

PaymentMethodDataResponse:
type: BaseCommerceResponse
Expand All @@ -2223,7 +2238,7 @@ ValidationResponse:
type: BaseCommerceResponse
properties:
_media_type: string
messages: array
messages: mixed[]

CountrySelectionResponse:
type: BaseCommerceResponse
Expand All @@ -2250,7 +2265,7 @@ CustomerPriceData:
Meta:
type: object
required: false
Items: array
Items: mixed[]

BasketHeaderData:
type: object
Expand Down Expand Up @@ -2306,6 +2321,9 @@ CurrencyCreate:
CurrencyUpdate:
type: object

CurrencyView:
type: object

Region:
type: object
description: ''
Expand All @@ -2324,7 +2342,7 @@ AttributeGroupCreate:

AttributeGroupUpdate:
type: object
description:
description: ''

AttributeGroupList:
type: object
Expand All @@ -2334,6 +2352,10 @@ AttributeGroupViewInput:
type: object
description: ''

AttributeGroupView:
type: object
description: ''

Attribute:
type: object
description: ''
Expand All @@ -2354,6 +2376,10 @@ AttributeViewInput:
type: object
description: ''

AttributeView:
type: object
description: ''

CustomerGroup:
type: object
description: ''
Expand All @@ -2374,6 +2400,9 @@ CustomerGroupViewInput:
type: object
description: ''

CustomerGroupView:
type: object

CurrencyViewInput:
type: object
description: ''
Expand All @@ -2388,16 +2417,20 @@ ProductTypeUsage:

ProductTypeCreate:
type: object
description:
description: ''

ProductTypeUpdate:
type: object
description:
description: ''

ProductTypeViewInput:
type: object
description: ''

ProductTypeView:
type: object
description: ''

Product:
type: object
description: ''
Expand Down Expand Up @@ -2426,6 +2459,10 @@ ProductViewInput:
type: object
description: ''

ProductView:
type: object
description: ''

ProductVariant:
type: object
description: ''
Expand All @@ -2446,13 +2483,19 @@ ProductVariantViewInput:
type: object
description: ''

ProductVariantView:
type: object

RegionViewInput:
type: object
description: ''

RegionView:
type: object

ProductTypeList:
type: object
description:
description: ''

TaxonomyEntryAssignToContent:
type: object
Expand Down
1 change: 0 additions & 1 deletion tools/raml2html/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
var
vendor
composer.lock
.php_cs.cache
Loading