@Controller
@RequestMapping(value="/api/store",
produces="application/json")
public class PetStoreResource
extends java.lang.Object
Constructor and Description |
---|
PetStoreResource() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<java.lang.String>> |
deleteOrder(java.lang.String orderId) |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Order>> |
getOrderById(java.lang.String orderId) |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Pet>> |
getPetInCA() |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Pet>> |
getPetInTx() |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<java.lang.String>> |
placeOrder(Order order) |
@RequestMapping(value="/order/{orderId}", method=GET) public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Order>> getOrderById(@PathVariable(value="orderId") java.lang.String orderId) throws NotFoundException
NotFoundException
@RequestMapping(value="/order", method=POST) public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<java.lang.String>> placeOrder(Order order)
@RequestMapping(value="/order/{orderId}", method=DELETE) public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<java.lang.String>> deleteOrder(@PathVariable(value="orderId") java.lang.String orderId)
@RequestMapping(value="search", method=GET, produces="application/json", params="x=TX") @ResponseStatus(value=OK) public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Pet>> getPetInTx()
@RequestMapping(value="search", method=GET, produces="application/json", params="x=CA") @ResponseStatus(value=OK) public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Pet>> getPetInCA()