Replies: 1 comment
-
Hi @Testinger, At this point, Orion cannot generate OpenAPI specs for custom endpoints (endpoints defined outside of For now, you can just add the necessary specs manually into the generated file - Orion won't remove those upon specs generation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using Laravel Sanctum for Authentication purposes, and I would like to add the route generated by Sanctum to Orion generated OpenAPI Specs file. From what I understand, the paths generated came from
PathsBuilder
fromresourcesCacheStore
, which I assume registered when usingOrion::resource
onroutes
file.This works great with Orion specified Collections and operations, but it can't register any custom functions individually declared on routes file.
At the example above,
Announcement
andBanner
were successfully generated, but routes such as/register
,/login
, and/me
were not specified onspecs.json
file. Are there any way we can add these on specs file, or am I missing something? Thank you!Beta Was this translation helpful? Give feedback.
All reactions