swagger-php Questions
8
Solved
I use Swagger-php. When I define a parameter that's on the query string it can be an array. But from what I can see, it doesn't support this kind of querystring:
https://api.domain.tld/v1/objects?...
Tipper asked 17/6, 2016 at 9:31
3
Solved
I am new to this stuff but I love it. I made a little REST Api using the Slim Framework. Now I would like to have an ongoing documentation about it. I think swagger is the right choice but I have n...
Dumbarton asked 30/4, 2014 at 19:32
13
Solved
For some REST APIs written in PHP, I was asked to create Swagger documentation, and since I was not aware of any easy way of annotating those existing APIs and create such a documentation, I used t...
Pianissimo asked 12/9, 2014 at 3:57
2
Solved
I'm using L5 Swagger from DarkOnLine to generate Swagger docs using OpenApi schematics.
To use schema I can do
@OA\Property(property="certification", type="array", @OA\Items(ref="#/components/sch...
Woke asked 29/1, 2019 at 11:29
2
Solved
I'm use L5-Swagger 5.7.* package (wrapper of Swagger-php) and tried describe Laravel REST API. So, my code like this:
/**
* @OA\Post(path="/subscribers",
* @OA\RequestBody(
* @OA\MediaType(
* ...
Elisaelisabet asked 6/11, 2018 at 8:34
2
Solved
I have a REST webservice using Codeigniter and using this lib : https://github.com/chriskacerguis/codeigniter-restserver
I want to generate documentation for this web service. I look to use Swagge...
Supportable asked 5/2, 2015 at 9:59
1
I use these packages (installed via composer)
"swagger-api/swagger-ui": "^3.0",
"zircote/swagger-php": "~2.0|3.*"
In my def controller I have these annotations
/**
* @OA\Info(title="My API"...
Misguided asked 8/3, 2019 at 9:42
1
Solved
I've tried to add a nested array of arbitrary types.
These are my annotations:
* @OA\Property(
* @OA\Schema(
* type="array",
* @OA\Items(
* type="array",
* @OA\Items(type={})
* )
* ),
* descriptio...
Stott asked 27/12, 2018 at 15:3
2
Solved
I am creating a Restful api in php using Slim framework. To document the api's am using Swagger-php Annotations. How to annotate the Request Headers for a api ?
Bliss asked 9/1, 2015 at 7:50
1
Solved
I'm using Swagger PHP and most of the definitions are easy to define, but I'm having an issue with a particular piece of data that is not part of a seperate class, but instead an associative array....
Ibbetson asked 20/5, 2016 at 9:5
1
Solved
I'm working with a large number of files that have PHP block docs with Swagger PHP annotations on them, however they are not indented. Is there anyway to automatically format them with spaces?
Tur...
Wolff asked 11/6, 2015 at 17:21
1
I'm trying to use Swagger-ui for my json-rpc server which was written by php. I use Swagger-PHP to generate json complaint container for Swagger-ui. So, I'm very new to Swagger and I use annotation...
Beryllium asked 27/10, 2013 at 13:52
1
© 2022 - 2024 — McMap. All rights reserved.