What are the Slack Archives?
It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
I'm just playing around with the GLUE Api. It seems that the API documented here
I'm just playing around with the GLUE Api. It seems that the API documented here https://documentation.spryker.com/glue_rest_api/rest-api-reference.htm is not consistent with what I get from my local installation. Is there a way to get the API documentation of the local installation? For example with spring boot applications and swagger ui the API is accessible through http://localhost:8080/your-app-root/swagger-ui.html.
Comments
-
Are you running docker or vagrant devvm?
0 -
Docker
0 -
Using latest master of
spryker/docker-sdk
it should be possible to open<https://swagger.spryker.local/>
.0 -
Also to generate actual swagger info you need to run
docker/sdk cli console rest-api:generate:documentation
.0 -
Check that you have
services: swagger: engine: swagger-ui endpoints: swagger.spryker.local:
in your deploy.dev.yml
and corresponding host in
/etc/hosts
like127.0.0.1 zed.de.spryker.local yves.de.spryker.local glue.de.spryker.local zed.at.spryker.local yves.at.spryker.local glue.at.spryker.local zed.us.spryker.local yves.us.spryker.local glue.us.spryker.local mail.spryker.local scheduler.spryker.local queue.spryker.local swagger.spryker.local
0 -
Thanks! I'll give it a try...
0 -
When I try to generate the documentation I get this:
*** DEVELOPMENT MODE
Store: DE369 | Environment: docker
This command intended to be used non production environment only!0 -
I don't know why it thinks that your env is not development one, this is a question more for channel, but this behavior is configurable here -
\Spryker\Shared\DocumentationGeneratorRestApi\DocumentationGeneratorRestApiConstants::ENABLE_REST_API_DOCUMENTATION_GENERATION
0 -
Ok, that helped. The documentation command now runs without the error message. But on swagger.spryker.local/ is still see the default petstore documentation.
0 -
What is the difference between what you see in swagger and what you expect to see there? Are some endpoints missing?
0 -
It shows the default petstore API documentation. Not the Spryker Glue API.
0 -
🤔
0 -
That file exists in my project, but the url within the swagger browser does not work
0 -
@ULYHPR789 could you look into it when you have time? Maybe I'm missing something.
0 -
@UPDV9V3ST You need to rebuild swagger image to put yml inside.
docker/sdk up
should rebuild it.0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random