-
Notifications
You must be signed in to change notification settings - Fork 101
six (6) attempts to get YAML (**NOT** JSON) APIs to display in redocly developer portal. #114
Comments
Hi @WaterSibilantFalling can you please share your |
I think they're both default, as supplied.
|
Is this
Have you tried to put that file directly into our API registry? |
That's a JSON file When the openapi.yaml file (created by Redocly's
I think it's choking on the 'path' objects in the openapi.yaml file |
Don't use that |
No, and I don't currently intend to. |
There is no point for you in using our Developer portal. It requires a license. |
I have a licence. Oh, Is that it? Makes sense. I have a license - Plexure paid for "premium"? is it? - OK, I'll add the license key and retry. Can you paste the link to the doc where is says that I need the license key to work on the developer portal locally, on this machine? Is it this:
|
Oh, ok. I didn't realise that one had replaced the other. I just thought they were two tools.
Oh, ok.. Will do. |
These APIs are YAML NOT JSON. These YAML API path and schema fragments were created by redocly's
create-openapi-repo
toolAs instructed by Redocly, these fragments are place in directories under the openapi directory:
Attempt 1
The .....page.yaml file in the openapi/ dir
path files, like v1@Abcdefg({key})@products({relatedKey})@$ref.yaml in the
openapi/path/Abcdefg/ directory
in sidebar.yaml
Error
No "Error" messages, but didn't work
Attempt 2: The same, but with each of
Of course, none of these worked.
Note that the last of these, which DEFINITELY does not exist, does not give an error.
Those that DO exist, DO give errors
Errors about "File not found" only appear for files that EXIST.
When a file does NOT exist, no error.
Attempt 3
Directly listed each API file.
errors
Lots of (incorrect) errors about "could not find page"
Attempt 4
Based on the openapi directory. Not suprised that this didn't work - after all, nothing worked - but for completeness
error
Attempt 5
Put the .....page.yaml file in the same directory as the 'path' files that describe the API. This is like the APIs represented in monolithic JSON (in the openapi dir) being in the same dir as the API path file.
error: No error, but no APIs displayed
Attempt 6
Put the path files in the opeanapi directory, like the JSON api file (that actually works).
Errors
Incorrect error messages saying "Could not find page".
The text was updated successfully, but these errors were encountered: