Comments (3)
Nevermind! I found the problem! I was because I created myself a FormFactory without using the one already created.
I will close the ticket!
from nelmioapidocbundle.
it sounds like some miss configuration in your service configuration on your test environment. Could you have a look at https://github.com/nelmio/NelmioApiDocBundle/blob/master/CHANGELOG.md#4220 and see if this is the problem you are facing?
If your codebase mentions a file or directory by path then an update to this path is necessary. For example to following > configuration:
doc-api:
resource: "@NelmioApiDocBundle/Resources/config/routing/swaggerui.xml"
prefix: /api/doc
Becomes:
doc-api:
resource: "@NelmioApiDocBundle/config/routing/swaggerui.xml"
prefix: /api/doc
NelmioApiDocBundle/config/services.xml
Lines 155 to 157 in 7bc02c7
from nelmioapidocbundle.
Thank you for the answer, I did more testing, So it doesn't work with normal flow either, I was under the impression it worked because the swagger page loaded, but when I call a rest point using a form it fails!
from nelmioapidocbundle.
Related Issues (20)
- [BUG] 🐛 `Multiple @OA\MediaType() with the same mediaType="application/json"` after `composer update -W` HOT 10
- [Symfony 7.1] support for Serialize attribute
- [Feature] Example property value HOT 1
- [Symfony 7.1] support for TypeInfo component
- NelmioApiDocBundle v5 overview HOT 2
- Duplicate schemas when referencing with `Attributes\Model` HOT 7
- Description from OpenApi\Attributes\QueryParameter is not processing HOT 2
- Properties with default values still get marked as required
- Converting tool is not available anymore HOT 1
- OpenAPI Specification Extensions HOT 1
- Make the default area accessible at /doc.json
- How to separate out schema to keep controllers clean and focused on business logic? HOT 1
- TypeError in fresh Symfony 7 install
- Required field in OpenAPI response HOT 1
- Error with Model Attribute HOT 6
- @OA\Items() is required when @OA\Property HOT 7
- [Bug]: Swagger assets ignore X-Forwarded-Prefix header value HOT 2
- [Bug]: 'Type' Expected, given string when using 'ref: new Model(type: Entity::class)' in attribute HOT 2
- incorrect server url in openapi document when behind reverse proxy HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nelmioapidocbundle.