Should be equal to one of the allowed valuesĪllowedValues: array, boolean, integer, number, object, string When the file is loaded into the Swagger editor, the following errors appear:.The following file is generated: swagger.json.The Swagger Editor generates code samples for all request types.No errors or warnings appear in the Swagger editor.A OpenAPI-standards-compliant file is generated.Load the Swagger file that was downloaded into the Swagger Editor (File -> Import file).Download the Swagger JSON file from /openapi/jsonapi?_format=json.Apply the patch from #5 in #3185778: Fix TypeError: Cannot read property 'anyOf' of undefined.Install and enable the following modules:. Install Drupal 8 from 8.9.13 using the "Minimal" profile.We are finding that the swagger.json file that this module generates is not completely accepted by the Swagger Editor and related tools - there are several sections that are flagged as errors, causing some generated code samples to similarly indicate errors. We have a fairly stock Drupal site that was just installed earlier today, and we are trying to get this module to generate Swagger/OpenAPI documentation for Drupal's JSON:API interface.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |